summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-06-01 19:40:58 +0100
committerAndreas Ericsson <ae@op5.se>2010-06-02 11:18:56 +0200
commitb2bc567f25e3e07d0d6d55fab16f33423d863107 (patch)
tree4e67695cb9de10a3dd32f78cfa01eed91ebf155d /src/commit.c
parent702bd70595a7b19afc48a1f784a6505be68469d4 (diff)
downloadlibgit2-b2bc567f25e3e07d0d6d55fab16f33423d863107.tar.gz
Style: Fix brace placement and spacing
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c
index 0db888db..9fcf811e 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -85,8 +85,7 @@ int git_commit_parse_existing(git_commit *commit)
if (error < 0)
return error;
- if (commit_obj.type != GIT_OBJ_COMMIT)
- {
+ if (commit_obj.type != GIT_OBJ_COMMIT) {
error = GIT_EOBJTYPE;
goto cleanup;
}