summaryrefslogtreecommitdiff
path: root/apply.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-03 19:44:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-05 00:04:44 (GMT)
commit4b12dae69a41471e7c8139de26c1135f7ecccbd8 (patch)
tree8843ecb5e7d40236047b1364ffbd65233f666769 /apply.c
parent64a2228b02594d5ccb7aaca293816f571fd1ea84 (diff)
downloadgit-4b12dae69a41471e7c8139de26c1135f7ecccbd8.zip
git-4b12dae69a41471e7c8139de26c1135f7ecccbd8.tar.gz
git-4b12dae69a41471e7c8139de26c1135f7ecccbd8.tar.bz2
Return error when not checking out an entry due to dirtiness.
Without -f flag, 'git-checkout-index foo.c' issued an error message when foo.c already existed in the working tree and did not match index. However it did not return an error from the underlying checkout_entry() function and resulted in a successful exit(0). Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'apply.c')
0 files changed, 0 insertions, 0 deletions