summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-03-06 14:54:05 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-06 14:54:05 -0800
commite33c3322b669cb7b67a9d54b5e576c525115a650 (patch)
tree3256642904054ee31adadf8adff0d111954fa22b /builtin
parentMerge branch 'bw/doc-submodule-recurse-config-with-clone' (diff)
parentrevision: drop --show-all option (diff)
downloadtgif-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.c2
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;