Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-07 01:54:05 +0300
committerJunio C Hamano <gitster@pobox.com>2018-03-07 01:54:05 +0300
commite33c3322b669cb7b67a9d54b5e576c525115a650 (patch)
tree3256642904054ee31adadf8adff0d111954fa22b /builtin
parent96608043d95e5f8d9a22eba325931809e554792d (diff)
parentf74bbc8dd2637498bc07132ae6bfa6d1b88dafb0 (diff)
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;