Clean up minor details

This commit is contained in:
Ben Straub
2013-04-15 13:29:40 -07:00
parent 5961d5ea7f
commit 201566539f
3 changed files with 3 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ static int resolve_to_tree(
int err = 0;
git_object *obj = NULL;
if ((err =git_revparse(&obj, NULL, NULL, repo, identifier)) < 0)
if ((err = git_revparse_single(&obj, repo, identifier)) < 0)
return err;
switch (git_object_type(obj)) {