summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-22 21:24:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-22 21:24:25 (GMT)
commit393eee1cad9ef88a961c4422f4ad12ddadd41440 (patch)
treefc55b658313b5fff846387d587f10d651a6ae29f /builtin
parentc9bc2c5d4dd42a2448c63fe097fa8d43222dd5cb (diff)
parentf74bbc8dd2637498bc07132ae6bfa6d1b88dafb0 (diff)
downloadgit-393eee1cad9ef88a961c4422f4ad12ddadd41440.zip
git-393eee1cad9ef88a961c4422f4ad12ddadd41440.tar.gz
git-393eee1cad9ef88a961c4422f4ad12ddadd41440.tar.bz2
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 d5345b6..d95acaa 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;