summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Straub <bstraub@github.com>2012-06-19 21:12:04 -0700
committerBen Straub <bstraub@github.com>2012-06-19 21:12:04 -0700
commita15e7f86216702e5da8e4ae733df1f97539729a6 (patch)
tree8784dc43c3c7a42164390cd9269c8fbdb00a0af1 /src
parenteb6bc45f6db0de0a445c09d2c7f5c2eaa3669103 (diff)
downloadlibgit2-a15e7f86216702e5da8e4ae733df1f97539729a6.tar.gz
Fix indentation.
Diffstat (limited to 'src')
-rw-r--r--src/revparse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/revparse.c b/src/revparse.c
index 46abb056..3f210d11 100644
--- a/src/revparse.c
+++ b/src/revparse.c
@@ -323,10 +323,10 @@ static git_object* dereference_object(git_object *obj)
break;
case GIT_OBJ_TAG:
{
- git_object *newobj = NULL;
- if (0 == git_tag_target(&newobj, (git_tag*)obj)) {
- return newobj;
- }
+ git_object *newobj = NULL;
+ if (0 == git_tag_target(&newobj, (git_tag*)obj)) {
+ return newobj;
+ }
}
break;
@@ -581,7 +581,7 @@ static int handle_colon_syntax(git_object **out,
git_tree_free(tree);
if (error < 0)
- return error;
+ return error;
return git_object_lookup(out, repo, &oid, GIT_OBJ_ANY);
}
@@ -623,7 +623,7 @@ static int revparse_global_grep(git_object **out, git_repository *repo, const ch
}
if (!resultobj) {
giterr_set(GITERR_REFERENCE, "Couldn't find a match for %s", pattern);
- git_object_free(walkobj);
+ git_object_free(walkobj);
} else {
*out = resultobj;
}