Re: [PATCH 3/3] pull: introduce --[no-]autostash and pull.autostash
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 16, 2013, 05:26 UTC
- Message-ID
- <20130416052654.GA14567@elie.Belkin>
- In-Reply-To
- <CALkWK0=PemnwYkLg5X3YXA5kKE+K5rbbWvS+DR9xpTqAuq+QCg@mail.gmail.com>
Ramkumar Ramachandra wrote:
Show 7 quoted lines
> "If there were uncommitted worktree changes present when the merge > started, git merge --abort will in some cases be unable to reconstruct > these changes. It is therefore recommended to always commit or stash > your changes before running git merge." > > Matthieu (and probably others) run git merge with a dirty worktree > most of the time, while I never do (because I read this section).
The above says "in some cases". It's presumably referring to the case "One exception is when the changed index entries are in the state that would result from the merge already" described in the "PRE-MERGE CHECKS" section.
Improved wording welcome.
Ciao, Jonathan