Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: [PATCH 3/3] pull: introduce --[no-]autostash and pull.autostash

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:56:51

Ramkumar Ramachandra wrote:
"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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help