]> git.ipfire.org Git - thirdparty/git.git/commit
sequencer: teach autostash apply to report conflicts
authorHarald Nordgren <haraldnordgren@gmail.com>
Sat, 25 Jul 2026 15:34:28 +0000 (15:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jul 2026 22:08:18 +0000 (15:08 -0700)
commit64ffd57fb53718894b289d6919ee930000ebb330
tree05dc0354bffcb376e9881019d57da69f83b27a49
parente9019fcafe0040228b8631c30f97ae1adb61bcdc
sequencer: teach autostash apply to report conflicts

Add a conflicted parameter to apply_save_autostash_oid() and
apply_save_autostash_ref() so callers can learn whether applying the
stash resulted in conflicts.  Thread the parameter through
apply_autostash_ref() and update existing callers to pass NULL.

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