mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-19 19:39:56 -05: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