diff options
Diffstat (limited to 'tests-clar/stash/drop.c')
| -rw-r--r-- | tests-clar/stash/drop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/stash/drop.c b/tests-clar/stash/drop.c index 136a94242..5bbc7452a 100644 --- a/tests-clar/stash/drop.c +++ b/tests-clar/stash/drop.c @@ -30,7 +30,7 @@ static void push_three_states(void) cl_git_mkfile("stash/zero.txt", "content\n"); cl_git_pass(git_repository_index(&index, repo)); - cl_git_pass(git_index_add(index, "zero.txt", 0)); + cl_git_pass(git_index_add_from_workdir(index, "zero.txt")); commit_staged_files(&oid, index, signature); cl_git_mkfile("stash/one.txt", "content\n"); |
