mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 23:03:35 +00:00
Fix indentation.
This commit is contained in:
parent
eb6bc45f6d
commit
a15e7f8621
@ -323,10 +323,10 @@ static git_object* dereference_object(git_object *obj)
|
|||||||
break;
|
break;
|
||||||
case GIT_OBJ_TAG:
|
case GIT_OBJ_TAG:
|
||||||
{
|
{
|
||||||
git_object *newobj = NULL;
|
git_object *newobj = NULL;
|
||||||
if (0 == git_tag_target(&newobj, (git_tag*)obj)) {
|
if (0 == git_tag_target(&newobj, (git_tag*)obj)) {
|
||||||
return newobj;
|
return newobj;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -581,7 +581,7 @@ static int handle_colon_syntax(git_object **out,
|
|||||||
git_tree_free(tree);
|
git_tree_free(tree);
|
||||||
|
|
||||||
if (error < 0)
|
if (error < 0)
|
||||||
return error;
|
return error;
|
||||||
|
|
||||||
return git_object_lookup(out, repo, &oid, GIT_OBJ_ANY);
|
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) {
|
if (!resultobj) {
|
||||||
giterr_set(GITERR_REFERENCE, "Couldn't find a match for %s", pattern);
|
giterr_set(GITERR_REFERENCE, "Couldn't find a match for %s", pattern);
|
||||||
git_object_free(walkobj);
|
git_object_free(walkobj);
|
||||||
} else {
|
} else {
|
||||||
*out = resultobj;
|
*out = resultobj;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user