git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Merge after directory rename ?
@ 2011-08-21 21:41 Marcin Wiśnicki
  2011-08-21 23:45 ` Michael Witten
  0 siblings, 1 reply; 8+ messages in thread
From: Marcin Wiśnicki @ 2011-08-21 21:41 UTC (permalink / raw)
  To: git

Is it possible to merge files after performing directory renames in such 
way that new files will end up in renamed directories ?

For example:
1. [master]  add dir1/file1
2. [branch1] branch from master
3. [branch1] add dir1/file2
4. [master]  rename dir1 to dir2
5. [master]  merge branch1

Where it should notice that dir1=>dir2 and therefore {dir1=>dir2}/file2.

Currently I end up with dir1/file2 which is undesirable as it breaks 
refactorings and requires a lot of manual effort to clean-up.

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

end of thread, other threads:[~2011-08-23 19:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-21 21:41 Merge after directory rename ? Marcin Wiśnicki
2011-08-21 23:45 ` Michael Witten
2011-08-21 23:53   ` Michael Witten
2011-08-22  0:32     ` Marcin Wiśnicki
2011-08-22  2:19       ` Michael Witten
2011-08-22  8:49         ` Marcin Wiśnicki
2011-08-23 14:50           ` Michael Witten
2011-08-23 19:13     ` Jeff King

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