git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Wrong conflicts on file splits
@ 2009-05-04 12:53 Jon Smirl
  2009-05-04 13:27 ` Michael J Gruber
  0 siblings, 1 reply; 7+ messages in thread
From: Jon Smirl @ 2009-05-04 12:53 UTC (permalink / raw)
  To: Git Mailing List

I keep running into this problem, is there anything I can do to make
it better? I'm using stgit but this is a problem in git itself.

I have a patch that splits file A into two files, A and B.
Now I merge with another tree and bring in a one line fix to A.
The fix touches the pre-split file A in a section that is going to end up in B.
Next I re-apply the patch that splits A into A and B.

This results in a large conflict in the post split file A.
And no patch being applied to file B which is where the fix belongs.

Repeat this process with a multi-line fix and the whole automated
merge process breaks down and I have to carefully figure everything
out by hand.

The merge process seems to be unaware of the newly created file B. No
patches or conflict ever end up in it.

-- 
Jon Smirl
jonsmirl@gmail.com

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

end of thread, other threads:[~2009-05-04 15:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 12:53 Wrong conflicts on file splits Jon Smirl
2009-05-04 13:27 ` Michael J Gruber
2009-05-04 13:42   ` Jon Smirl
2009-05-04 13:49     ` Michael J Gruber
2009-05-04 13:52       ` Jon Smirl
2009-05-04 14:54         ` Michael J Gruber
2009-05-04 15:30           ` Jon Smirl

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