From: Harald Nordgren Date: Tue, 14 Apr 2026 07:29:50 GMT Subject: Re: [PATCH] checkout: add --autostash option for branch switching Message-ID: <20260414072950.61240-1-haraldnordgren@gmail.com> In-Reply-To: > Because I almost always have either 'master' or 'next' checked out, > when I start outlining a "how about this" kind of change, they are > made on top of these branches, but when I say "checkout -m topic" > after that, I _know_ that the rough draft change that becomes a > stash entry is meant to be part of the "topic", either to extend it > or refine it. Because the code that creates the stash entry knows > that we were in the process of moving to 'topic', it would be nice > to see the name of the branch we are moving to (i.e., 'topic') on > the title, e.g., "autostash while switching to 'topic'". Sounds reasonable, but wouldn't it make more sense to call it "autostash from master". We should still be able to abort the merge and merge it to some other branch. I feel like the source is more relevant than the destination, no? Harald