Re: [PATCH] checkout: add --autostash option for branch switching
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 13, 2026, 20:30 UTC
- Message-ID
- <xmqq4imj4gln.fsf@gitster.g>
- In-Reply-To
- <20260313193320.42832-1-haraldnordgren@gmail.com>
Harald Nordgren <haraldnordgren@gmail.com> writes:
Show 8 quoted lines
>> Almost all of the above is now stale, as we no longer call this the >> "autostash" feature. It turned into a project to vastly improve the >> "checkout --merge" option, so the proposed log message needs to be >> revamped to match. > > My feeling is that this feature will drift far away from what I initially > needed. I have never used 'checkout -m' but stash->checkout-unstash is a > pattern I use a lot.
Perhaps. But things like "checkout --autostash", which can entirely be done by the end user via a wrapper script or an alias, is not interesting enough from my point of view.