Merge branch 'jk/cached-commit-buffer'
Code clean-up. * jk/cached-commit-buffer: revision: drop --show-all option commit: drop uses of get_cached_commit_buffer()
This commit is contained in:
@ -134,7 +134,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;
|
||||
|
Reference in New Issue
Block a user