mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
Fix linking error caused by ddcb28a41f
.
This commit is contained in:
parent
ddcb28a41f
commit
c55c624441
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user