Commit 13a5a9f
rebase: fix GIT_REFLOG_ACTION regression
The scripted version of "rebase" honored the `GIT_REFLOG_ACTION`,
and some automation scripts expected the reflog entries to be
prefixed with "rebase -i", not "rebase", after running "rebase -i".
This regressed in the reimplementation in C.
Fix that, and add a regression test, both with `GIT_REFLOG_ACTION`
set and unset.
Note: the reflog message for "rebase finished" did *not* honor
GIT_REFLOG_ACTION, and as we are very late in the v2.20.0-rcN phase,
we leave that bug for later (as it seems that that bug has been with
us from the very beginning).
Reported by Ian Jackson.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 7068cbc commit 13a5a9f
2 files changed
+52
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
779 | 796 | | |
780 | 797 | | |
781 | 798 | | |
| |||
978 | 995 | | |
979 | 996 | | |
980 | 997 | | |
| 998 | + | |
981 | 999 | | |
982 | 1000 | | |
983 | 1001 | | |
| |||
990 | 1008 | | |
991 | 1009 | | |
992 | 1010 | | |
| 1011 | + | |
993 | 1012 | | |
994 | 1013 | | |
995 | 1014 | | |
| |||
1018 | 1037 | | |
1019 | 1038 | | |
1020 | 1039 | | |
| 1040 | + | |
1021 | 1041 | | |
1022 | 1042 | | |
1023 | 1043 | | |
| |||
1033 | 1053 | | |
1034 | 1054 | | |
1035 | 1055 | | |
| 1056 | + | |
1036 | 1057 | | |
1037 | 1058 | | |
1038 | 1059 | | |
| |||
1440 | 1461 | | |
1441 | 1462 | | |
1442 | 1463 | | |
1443 | | - | |
| 1464 | + | |
| 1465 | + | |
1444 | 1466 | | |
1445 | 1467 | | |
1446 | 1468 | | |
1447 | | - | |
| 1469 | + | |
1448 | 1470 | | |
1449 | 1471 | | |
1450 | 1472 | | |
| |||
1508 | 1530 | | |
1509 | 1531 | | |
1510 | 1532 | | |
1511 | | - | |
| 1533 | + | |
| 1534 | + | |
1512 | 1535 | | |
1513 | 1536 | | |
1514 | 1537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
94 | 120 | | |
0 commit comments