1) Branch firstBranch
:
rename /frontends/myfrontend/utils/myfile.js
to /frontends/myfrontend/utils/myfile2.js
2) Branch secondBranch
rename /frontends/myfrontend
to /frontends/myfrontend2
Now I want to merge firstBranch
into secondBranch
, while keeping both renames applied (since one is over a parent directory, and the other over a child file).
Rename strategies (find-renames
and rename-threshold
) are dealing only on identifying changed content being renamed, but I think this is a different case. The content is the same, it is just that git does not allow me to solve the merge by applying both renames.
How should I deal with this? I know git does not understand about directories, nevertheless I think it is a real use case.