use get_cached_commit_buffer where appropriate
[gitweb.git] / log-tree.c
index cf2f86c86632c6df8862fc065299e6cc35aa4829..e9ef8abd3712d9f4e7a323730d2d84704fc453d0 100644 (file)
@@ -588,7 +588,7 @@ void show_log(struct rev_info *opt)
                show_mergetag(opt, commit);
        }
 
-       if (!commit->buffer)
+       if (!get_cached_commit_buffer(commit))
                return;
 
        if (opt->show_notes) {