From: Junio C Hamano Date: Thu, 09 Apr 2026 17:00:28 GMT Subject: Re: [PATCH v7 0/4] checkout: 'autostash' for branch switching Message-ID: In-Reply-To: "Harald Nordgren via GitGitGadget" writes: > Harald Nordgren (4): > stash: add --ours-label, --theirs-label, --base-label for apply > sequencer: allow create_autostash to run silently > sequencer: teach autostash apply to take optional conflict marker > labels > checkout: -m (--merge) uses autostash when switching branches Thanks for an update. Above the list of the commits, it would be helpful to give a summary of the overall goal of the topic (which typically stays more or less the same during the life of the topic) and the highlights of the changes since the previous iteration (which authors often accumulate, so that in a cover letter for v7, there will be 6 such summaries), if you are sending a cover letter. I _think_ the change since v6 is a rebasing onto a more recent 'master', and addition of a new test? Thanks. > Documentation/git-checkout.adoc | 58 +++++----- > Documentation/git-stash.adoc | 11 +- > Documentation/git-switch.adoc | 27 ++--- > builtin/checkout.c | 138 ++++++++++------------- > builtin/stash.c | 32 ++++-- > sequencer.c | 67 +++++++++--- > sequencer.h | 4 + > t/t3420-rebase-autostash.sh | 24 +++- > t/t3903-stash.sh | 18 +++ > t/t7201-co.sh | 188 ++++++++++++++++++++++++++++++++ > t/t7600-merge.sh | 2 +- > xdiff-interface.c | 12 ++ > xdiff-interface.h | 1 + > 13 files changed, 431 insertions(+), 151 deletions(-) > > > base-commit: b15384c06f77bc2d34d0d3623a8a58218313a561 > Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2234%2FHaraldNordgren%2Fcheckout_autostash-v7 > Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2234/HaraldNordgren/checkout_autostash-v7 > Pull-Request: https://github.com/git/git/pull/2234 > > Range-diff vs v6: > > 1: cd9c64ba60 ! 1: 284075600a stash: add --ours-label, --theirs-label, --base-label for apply > @@ Documentation/git-stash.adoc: git stash list [] > -git stash apply [--index] [-q | --quiet] [] > +git stash apply [--index] [-q | --quiet] [--ours-label=