diff options
author | Ben Straub <bs@github.com> | 2013-04-16 00:29:40 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-04-16 00:29:40 +0400 |
commit | 201566539f38874b4e93c6a36593bd0d10e6352c (patch) | |
tree | b7475fa99d7d170096f8c771cb9cc0836be819b4 /examples/diff.c | |
parent | 5961d5ea7f77cc442ec7d7c9f698f8c96c050298 (diff) |
Clean up minor details
Diffstat (limited to 'examples/diff.c')
-rw-r--r-- | examples/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/diff.c b/examples/diff.c index a977abd3f..2ef405665 100644 --- a/examples/diff.c +++ b/examples/diff.c @@ -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)) { |