submodule.c: report the submodule that an error occurs in
[gitweb.git] / builtin / rev-list.c
index d5345b6a2e237b550e5cee69e6d46ff8271ade22..d95acaa40e5ca0fe0755e87437bd98e52457dcc4 100644 (file)
@@ -132,7 +132,7 @@ static void show_commit(struct commit *commit, void *data)
        else
                putchar('\n');
 
-       if (revs->verbose_header && get_cached_commit_buffer(commit, NULL)) {
+       if (revs->verbose_header) {
                struct strbuf buf = STRBUF_INIT;
                struct pretty_print_context ctx = {0};
                ctx.abbrev = revs->abbrev;