summaryrefslogtreecommitdiff
path: root/name-rev.c
diff options
context:
space:
mode:
Diffstat (limited to 'name-rev.c')
-rw-r--r--name-rev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/name-rev.c b/name-rev.c
index 21fecdf..59194f1 100644
--- a/name-rev.c
+++ b/name-rev.c
@@ -164,7 +164,7 @@ int main(int argc, char **argv)
continue;
}
- o = deref_tag(parse_object(sha1));
+ o = deref_tag(parse_object(sha1), *argv, 0);
if (!o || o->type != commit_type) {
fprintf(stderr, "Could not get commit for %s. Skipping.\n",
*argv);