git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git rebase" loses the additional changes in "evil" merges
@ 2013-03-04 20:58 Dale R. Worley
  2013-03-04 21:18 ` Junio C Hamano
  0 siblings, 1 reply; 13+ messages in thread
From: Dale R. Worley @ 2013-03-04 20:58 UTC (permalink / raw)
  To: git

(git version 1.7.7.6)

I've been learning how to use Git.  While exploring "git rebase", I've
discovered that if the branch being rebased contains an "evil" merge,
that is, a merge which contains changes that are in addition to the
changes in any of the parent commits, the rebase operation will
silenty lose those additional changes.

I believe that this is a serious bug.

The problem is not that Git does not propagate the additional changes
(although I'd like it to do so), the problem is that the rebase
*silently loses* changes in the code.  It would be acceptable if Git
detected the evil merge, notified me of it, and forced me to manually
re-do it in order to finish the rebase.

Throughout the Git design (as in other SCMs), care has been taken to
not lose changes that the user has introduced.  In this situation,
that principle is violated.

I have a script that demonstrates this failure, if that would be
useful for testing purposes.

Dale

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

end of thread, other threads:[~2013-03-07 22:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 20:58 "git rebase" loses the additional changes in "evil" merges Dale R. Worley
2013-03-04 21:18 ` Junio C Hamano
2013-03-04 21:24   ` Thomas Rast
2013-03-04 21:41     ` Junio C Hamano
2013-03-06 18:55       ` What I want rebase to do Dale R. Worley
2013-03-07  8:48         ` Thomas Rast
2013-03-07 10:08           ` Johannes Sixt
2013-03-07 17:38           ` Junio C Hamano
2013-03-07 22:06           ` Dale R. Worley
2013-03-05 21:18   ` "git rebase" loses the additional changes in "evil" merges Dale Worley
2013-03-05 21:35     ` Junio C Hamano
2013-03-05 23:16       ` Philip Oakley
2013-03-05 23:31         ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).