[PATCH] checkout: add --autostash option for branch switching
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Apr 28, 2026, 15:21 UTC
- Message-ID
- <20260428152107.56482-1-haraldnordgren@gmail.com>
- In-Reply-To
- <66e3b1f0-e00d-4b9b-8ee7-ca71444cf56d@gmail.com>
> It may well be that fixing all that turns out to be a lot of work as it > would mean modifying do_create_stash() to allow the branch name to be > overridden and modifying store_stash() to use the commit subject as the > reflog message in which case we should leave that for a future series.
I suspect that it is a lot of work, so maybe also better to do later.
Harald