diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-06 14:54:05 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-06 14:54:05 -0800 |
commit | e33c3322b669cb7b67a9d54b5e576c525115a650 (patch) | |
tree | 3256642904054ee31adadf8adff0d111954fa22b /builtin | |
parent | Merge branch 'bw/doc-submodule-recurse-config-with-clone' (diff) | |
parent | revision: drop --show-all option (diff) | |
download | tgif-e33c3322b669cb7b67a9d54b5e576c525115a650.tar.xz |
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()
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/rev-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/rev-list.c b/builtin/rev-list.c index 48300d9e11..d320b6f1e3 100644 --- a/builtin/rev-list.c +++ b/builtin/rev-list.c @@ -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; |