Commit 537abd4a by Vicent Martí

Merge pull request #1258 from zcbenz/fix_index_remove_test

Fix linking error caused by ddcb28a4.
parents ddcb28a4 c55c6244
...@@ -588,7 +588,7 @@ static void stage_and_commit(git_repository *repo, const char *path) ...@@ -588,7 +588,7 @@ static void stage_and_commit(git_repository *repo, const char *path)
git_index *index; git_index *index;
cl_git_pass(git_repository_index(&index, repo)); 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(index));
cl_git_pass(git_index_write_tree(&tree_oid, index)); cl_git_pass(git_index_write_tree(&tree_oid, index));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment