diff options
| author | Vicent Martà <vicent@github.com> | 2013-01-17 22:09:57 -0800 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-01-17 22:09:57 -0800 |
| commit | 537abd4a2cf2e412b20d275e64b57ab8982f3ca0 (patch) | |
| tree | 9792552bfbdb9a2a6ba44f5516be4ee830d6cb7d /tests-clar | |
| parent | ddcb28a41f3774e26fc6ae0a7174a5565e4749ce (diff) | |
| parent | c55c624441944d61d379ce5d3e58b945c52c7c8b (diff) | |
| download | libgit2-537abd4a2cf2e412b20d275e64b57ab8982f3ca0.tar.gz | |
Merge pull request #1258 from zcbenz/fix_index_remove_test
Fix linking error caused by ddcb28a41f3774e26fc6ae0a7174a5565e4749ce.
Diffstat (limited to 'tests-clar')
| -rw-r--r-- | tests-clar/status/worktree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/status/worktree.c b/tests-clar/status/worktree.c index ead1bc734..e1fc8dff8 100644 --- a/tests-clar/status/worktree.c +++ b/tests-clar/status/worktree.c @@ -588,7 +588,7 @@ static void stage_and_commit(git_repository *repo, const char *path) git_index *index; cl_git_pass(git_repository_index(&index, repo)); - cl_git_pass(git_index_add_from_workdir(index, path)); + cl_git_pass(git_index_add_bypath(index, path)); cl_git_pass(git_index_write(index)); cl_git_pass(git_index_write_tree(&tree_oid, index)); |
