Browse Source
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>maint
Junio C Hamano
20 years ago
2 changed files with 8 additions and 3 deletions
Loading…
Reference in new issue