]> git.ipfire.org Git - thirdparty/git.git/commit
sequencer: teach autostash apply to take optional conflict marker labels
authorHarald Nordgren <haraldnordgren@gmail.com>
Tue, 28 Apr 2026 18:39:10 +0000 (18:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Apr 2026 12:46:03 +0000 (21:46 +0900)
commite1c8b2d4ece1ada17e818b8c1b0760a47c00cae9
treeae775571736a6e240e7a77f7beb204f2f65d9825
parent93177db652ce15533494033b1379b4e434cff364
sequencer: teach autostash apply to take optional conflict marker labels

Add label_ours, label_theirs, label_base, and stash_msg parameters to
apply_autostash_ref() and the autostash apply machinery so callers can
pass custom conflict marker labels through to
"git stash apply --label-ours/--label-theirs/--label-base", as well as
a custom stash message for "git stash store -m".

Signed-off-by: Harald Nordgren <haraldnordgren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
builtin/merge.c
sequencer.c
sequencer.h