mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-23 03:19:03 +00:00
Fixes indentation
This commit is contained in:
parent
f0e37a8b86
commit
0b90366c3b
@ -1286,17 +1286,17 @@ static int cb_tree_walk(const char *root, const git_tree_entry *entry, void *pay
|
||||
|
||||
int git_packbuilder_insert_commit(git_packbuilder *pb, const git_oid *oid)
|
||||
{
|
||||
git_commit *commit;
|
||||
git_commit *commit;
|
||||
|
||||
if (git_commit_lookup(&commit, pb->repo, oid) < 0 ||
|
||||
git_packbuilder_insert(pb, oid, NULL) < 0)
|
||||
return -1;
|
||||
if (git_commit_lookup(&commit, pb->repo, oid) < 0 ||
|
||||
git_packbuilder_insert(pb, oid, NULL) < 0)
|
||||
return -1;
|
||||
|
||||
if (git_packbuilder_insert_tree(pb, git_commit_tree_id(commit)) < 0)
|
||||
return -1;
|
||||
if (git_packbuilder_insert_tree(pb, git_commit_tree_id(commit)) < 0)
|
||||
return -1;
|
||||
|
||||
git_commit_free(commit);
|
||||
return 0;
|
||||
git_commit_free(commit);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int git_packbuilder_insert_tree(git_packbuilder *pb, const git_oid *oid)
|
||||
|
Loading…
Reference in New Issue
Block a user