aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/rebase.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2022-10-12 09:35:08 +0000
committerJunio C Hamano <gitster@pobox.com>2022-10-17 12:55:03 -0700
commit1f2d5dc4d2bbcae87736fcd7b7c0e6542008c5f7 (patch)
tree959c81b4e972fb9f38f8ef13e4cd6a61f702e576 /builtin/rebase.c
parentda1d63363f13d4d65c59564c74fd8dd598b39c49 (diff)
downloadgit-1f2d5dc4d2bbcae87736fcd7b7c0e6542008c5f7.tar.gz
rebase --merge: fix reflog message after skipping
The reflog message for every pick after running "rebase --skip" looks like rebase (skip) (pick): commit subject line Fix this by not appending " (skip)" to the reflog action. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rebase.c')
-rw-r--r--builtin/rebase.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin/rebase.c b/builtin/rebase.c
index 414526f83a..c1e68173b5 100644
--- a/builtin/rebase.c
+++ b/builtin/rebase.c
@@ -1297,8 +1297,6 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
struct string_list merge_rr = STRING_LIST_INIT_DUP;
options.action = "skip";
- set_reflog_action(&options);
-
rerere_clear(the_repository, &merge_rr);
string_list_clear(&merge_rr, 1);
ropts.flags = RESET_HEAD_HARD;