diff options
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c index 63e47965a..31cb27d6c 100644 --- a/src/index.c +++ b/src/index.c @@ -3008,7 +3008,7 @@ int git_index_read_index( if (error < 0) { giterr_set(GITERR_INDEX, "failed to insert entry"); - return error; + goto done; } if (diff <= 0) { |