all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#20878: smerge yours/other are backwards for git stash conflicts
@ 2015-06-23  7:10 Glenn Morris
  2015-06-23 13:37 ` Stefan Monnier
  2015-06-23 15:04 ` Wolfgang Jenkner
  0 siblings, 2 replies; 4+ messages in thread
From: Glenn Morris @ 2015-06-23  7:10 UTC (permalink / raw)
  To: 20878

Package: emacs
Version: 24.5
Severity: minor

If you do

git stash
git pull
git stash pop

then if you end up with a conflict, it looks like this:

<<<<<<< Updated upstream
## Don't create ns_appbindir via an order-only prerequisite, because
=======
## Don't create ns_appbindir via an order-only prequisite, because
>>>>>>> Stashed changes

If you then do 'smerge-keep-yours' it takes the "upstream" version.
If you do 'smerge-keep-other', it takes the "stash" version.

This seems backwards to me. The stash is my version, the upstream is the
other version.

(I guess it's because Git's conflicts seem to be presented the opposite
way round to those of CVS, svn, bzr, ... Because consistency is
obviously for losers.)





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-23 15:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-23  7:10 bug#20878: smerge yours/other are backwards for git stash conflicts Glenn Morris
2015-06-23 13:37 ` Stefan Monnier
2015-06-23 15:42   ` Glenn Morris
2015-06-23 15:04 ` Wolfgang Jenkner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.