mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01:00
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>
3.6 KiB
3.6 KiB