git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git and appending merge commits
@ 2008-05-26  3:35 Adam Majer
  2008-05-26  4:51 ` Shawn O. Pearce
  2008-05-26  4:59 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Adam Majer @ 2008-05-26  3:35 UTC (permalink / raw)
  To: git

Hi all,

I've recently started using Git and it is a very nice tool. During some
merging, I've come upon one type of issue that seems to be a bug
somewhere. To reproduce,


  1. branch master
  2. branch upstream
  3. add new version to upstream
  4. merge it to master
  5. append master merge changeset

#5 results in "messsed up" diffs

For an example of such a mess up please see,

http://git.debian.org/?p=collab-maint/mrtg.git;a=commitdiff;h=a8bc78ffd6d51ab09a791fa97e25f57b60eecd06

It appears that the tool generates a patch to a patch and displays that
instead of the appended merge diff which is what I would have expected..

Is current output by design?

- Adam

PS. I should have probably used a new commit to do that changelog
addition instead of appending the merge!

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

end of thread, other threads:[~2008-05-26  6:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-26  3:35 git and appending merge commits Adam Majer
2008-05-26  4:51 ` Shawn O. Pearce
2008-05-26  4:59 ` Junio C Hamano
2008-05-26  6:39   ` Adam Majer

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).