diff options
| -rw-r--r-- | src/index.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c index 19432b18c..b39c0893d 100644 --- a/src/index.c +++ b/src/index.c @@ -1173,6 +1173,9 @@ int git_index_remove_bypath(git_index *index, const char *path) ret != GIT_ENOTFOUND)) return ret; + if (ret == GIT_ENOTFOUND) + giterr_clear(); + return 0; } |
