diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-03-22 14:24:25 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-03-22 14:24:25 -0700 |
| commit | 393eee1cad9ef88a961c4422f4ad12ddadd41440 (patch) | |
| tree | fc55b658313b5fff846387d587f10d651a6ae29f /builtin | |
| parent | Merge branch 'sm/mv-dry-run-update' into maint (diff) | |
| parent | revision: drop --show-all option (diff) | |
| download | git-393eee1cad9ef88a961c4422f4ad12ddadd41440.tar.gz git-393eee1cad9ef88a961c4422f4ad12ddadd41440.zip | |
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.c | 2 |
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; |
