summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-03-22 14:24:25 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-22 14:24:25 -0700
commit393eee1cad9ef88a961c4422f4ad12ddadd41440 (patch)
treefc55b658313b5fff846387d587f10d651a6ae29f /builtin
parentMerge branch 'sm/mv-dry-run-update' into maint (diff)
parentrevision: drop --show-all option (diff)
downloadtgif-393eee1cad9ef88a961c4422f4ad12ddadd41440.tar.xz
Merge branch 'jk/cached-commit-buffer' into maint
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 d5345b6a2e..d95acaa40e 100644
--- a/builtin/rev-list.c
+++ b/builtin/rev-list.c
@@ -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;