diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2012-10-29 20:04:21 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2012-10-29 20:04:21 -0500 |
commit | f45ec1a076e2347ba5d63eeb2d158f87b612e5cb (patch) | |
tree | 2e2bebc12e64e6f48eabde6010bf775b3fc6cd6e /tests-clar/stash/drop.c | |
parent | 81eecc342b3580e9b05e501c8ee75c7e2e0dca1a (diff) | |
download | libgit2-f45ec1a076e2347ba5d63eeb2d158f87b612e5cb.tar.gz |
index refactoring
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"); |