diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-07 01:54:05 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-07 01:54:05 +0300 |
commit | e33c3322b669cb7b67a9d54b5e576c525115a650 (patch) | |
tree | 3256642904054ee31adadf8adff0d111954fa22b /builtin/rev-list.c | |
parent | 96608043d95e5f8d9a22eba325931809e554792d (diff) | |
parent | f74bbc8dd2637498bc07132ae6bfa6d1b88dafb0 (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/rev-list.c')
-rw-r--r-- | builtin/rev-list.c | 2 |
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; |