index b8426dbd0dae619b9f2023f9cf46f4d8c3df0a24..15b34eb6f9ac1db569487a3b732740f2d35831a7 100644 (file)
--- a/entry.c
+++ b/entry.c
if (!state->force) {
if (!state->quiet)
fprintf(stderr, "git-checkout-index: %s already exists\n", path);
if (!state->force) {
if (!state->quiet)
fprintf(stderr, "git-checkout-index: %s already exists\n", path);
- return 0;
+ return -1;
}
/*
}
/*