From: Ramkumar Ramachandra Date: Mon, 15 Apr 2013 17:05:09 GMT Subject: Re: [PATCH 3/3] pull: introduce --[no-]autostash and pull.autostash Message-ID: In-Reply-To: <20130415165352.GH2278@serenity.lan> John Keeping wrote: > Why restrict it to non-interactive? I'd find it useful when doing > interactive rebases as well - consider the case when you simply want to > re-order some commits. Actually, I made a mistake: it should be doable for any specific rebase (includes rebase--interactive, rebase--am, and rebase--merge) just as easily, without leaking the autostash detail into them. The last statement in git-rebase.sh is run_specific_rebase, which just needs to be wrapped in a git stash/ git stash pop.