summaryrefslogtreecommitdiff
path: root/templates/hooks--commit-msg.sample
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-30 14:46:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-31 02:16:12 (GMT)
commitdb9410990ee41f2b253763621c0023c782ec86e2 (patch)
tree59a1b964e8437f0a06e9a4f2bbcb638849f18e2b /templates/hooks--commit-msg.sample
parent8fdcf3125465f70c0cad5be5ab192d46e46307c7 (diff)
downloadgit-db9410990ee41f2b253763621c0023c782ec86e2.zip
git-db9410990ee41f2b253763621c0023c782ec86e2.tar.gz
git-db9410990ee41f2b253763621c0023c782ec86e2.tar.bz2
checkout -f: allow ignoring unmerged paths when checking out of the index
Earlier we made "git checkout $pathspec" to atomically refuse the operation of $pathspec matched any path with unmerged stages. This patch allows: $ git checkout -f a b c to ignore, instead of error out on, such unmerged paths. The fix to prevent checkout of an unmerged path from random stages is still there. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--commit-msg.sample')
0 files changed, 0 insertions, 0 deletions