summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPeter Krefting <peter@softwolves.pp.se>2024-04-13 21:14:48 +0100
committerJunio C Hamano <gitster@pobox.com>2024-04-15 11:29:09 -0700
commit8198993c817b6c3b42f91c7345469c113c6eeabc (patch)
treed140cbac24467d1245d772a15275b0b53556da10 /commit.c
parent8f7582d995682f785e80e344197cc715e6bc7d8e (diff)
bisect: report the found commit with "show"
When "git bisect" finds the first bad commit and shows it to the user, it calls "git diff-tree" to do so, whose output is meant to be stable and deliberately ignores end-user customizations. As the output is supposed to be consumed by humans, replace this with a call to "git show". This command honors configuration options (such as "log.date" and "log.mailmap") and other UI improvements (renames are detected). Pass some hard-coded options to "git show" to make the output similar to the one we are replacing, such as showing a patch summary only. Reported-by: Michael Osipov <michael.osipov@innomotics.com> Signed-off-By: Peter Krefting <peter@softwolves.pp.se> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions