diff options
author | Xavier L <xavier.l@afrosoft.ca> | 2013-04-23 12:27:38 -0400 |
---|---|---|
committer | Xavier L <xavier.l@afrosoft.ca> | 2013-04-23 12:27:38 -0400 |
commit | 0b90366c3bf5c7149cf69b5fa1a8327032f8a60f (patch) | |
tree | 11e55506487f68cf94e59a5dff2691adee3f6468 /src | |
parent | f0e37a8b863c2e6caba2b15e4d723bddfe74b46c (diff) | |
download | libgit2-0b90366c3bf5c7149cf69b5fa1a8327032f8a60f.tar.gz |
Fixes indentation
Diffstat (limited to 'src')
-rw-r--r-- | src/pack-objects.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pack-objects.c b/src/pack-objects.c index 56240125b..1329a9bc1 100644 --- a/src/pack-objects.c +++ b/src/pack-objects.c @@ -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) |