Fix git-rev-list "date order" with --topo-order
[gitweb.git] / name-rev.c
index 21fecdf542a05e9bfa80990061ed3d0d3c849823..59194f1349ff4df860dd9ee4a3f183e17b72b6fc 100644 (file)
@@ -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);