Merge after directory rename ?
- From
Marcin Wiśnicki <mwisnicki@gmail.com>
- Date
- Aug 21, 2011, 21:41 UTC
- Message-ID
- <j2ru2h$cd$1@dough.gmane.org>
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.