Commit 0b90366c3bf5c7149cf69b5fa1a8327032f8a60f

Xavier L 2013-04-23T12:27:38

Fixes indentation

diff --git a/src/pack-objects.c b/src/pack-objects.c
index 5624012..1329a9b 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)