summaryrefslogtreecommitdiff
path: root/src/stash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stash.c')
-rw-r--r--src/stash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stash.c b/src/stash.c
index d4f81aefe..877af3312 100644
--- a/src/stash.c
+++ b/src/stash.c
@@ -192,7 +192,7 @@ static int update_index_cb(
case GIT_DELTA_DELETED:
if (!data->include_changed)
break;
- if (git_index_find(data->index, delta->old_file.path) == 0)
+ if (git_index_find(NULL, data->index, delta->old_file.path) == 0)
data->error = git_index_remove(
data->index, delta->old_file.path, 0);
break;