Commit 8198993
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 <[email protected]>
Signed-off-By: Peter Krefting <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 8f7582d commit 8198993
1 file changed
+24
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
949 | | - | |
| 949 | + | |
950 | 950 | | |
951 | | - | |
952 | | - | |
953 | | - | |
| 951 | + | |
954 | 952 | | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
| 953 | + | |
962 | 954 | | |
963 | | - | |
964 | | - | |
965 | | - | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
966 | 975 | | |
967 | 976 | | |
968 | 977 | | |
| |||
1079 | 1088 | | |
1080 | 1089 | | |
1081 | 1090 | | |
1082 | | - | |
| 1091 | + | |
1083 | 1092 | | |
1084 | 1093 | | |
1085 | 1094 | | |
| |||
0 commit comments