l10n: reformat some localized strings for v2.23.0
[gitweb.git] / builtin / name-rev.c
index 16df43473aaf61fe9b6f95fa449068ccf0eacafb..c785fe16bade1a67d4da782d91b61bdd61d99115 100644 (file)
@@ -378,8 +378,7 @@ static void name_rev_line(char *p, struct name_ref_data *data)
                        *(p+1) = 0;
                        if (!get_oid(p - (hexsz - 1), &oid)) {
                                struct object *o =
-                                       lookup_object(the_repository,
-                                                     oid.hash);
+                                       lookup_object(the_repository, &oid);
                                if (o)
                                        name = get_rev_name(o, &buf);
                        }