merge: add scissors line on merge conflict
[gitweb.git] / builtin / name-rev.c
index f6eb419a029700db5e88220de95cea8e3dd6a732..f1cb45c22746bbcfb76d8fb1fefd5061f582cf57 100644 (file)
@@ -455,7 +455,8 @@ int cmd_name_rev(int argc, const char **argv, const char *prefix)
                commit = NULL;
                object = parse_object(the_repository, &oid);
                if (object) {
-                       struct object *peeled = deref_tag(object, *argv, 0);
+                       struct object *peeled = deref_tag(the_repository,
+                                                         object, *argv, 0);
                        if (peeled && peeled->type == OBJ_COMMIT)
                                commit = (struct commit *)peeled;
                }