summaryrefslogtreecommitdiffstats
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-13 21:35:25 +0100
committerJunio C Hamano <gitster@pobox.com>2018-03-13 21:35:25 +0100
commit2ee13a780b1464039b89b9987b1cdd74d9e40780 (patch)
tree614cf75d25abc4a7ea08e50b211a8f5365032b8b /builtin
parentMerge branch 'jt/binsearch-with-fanout' into HEAD (diff)
parentrevision: drop --show-all option (diff)
downloadgit-2ee13a780b1464039b89b9987b1cdd74d9e40780.tar.xz
git-2ee13a780b1464039b89b9987b1cdd74d9e40780.zip
Merge branch 'jk/cached-commit-buffer' into HEAD
* jk/cached-commit-buffer: revision: drop --show-all option commit: drop uses of get_cached_commit_buffer() Git 2.16.2
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;