Aryeh Gregor
Aryeh Gregor
Probably the only solution here that will reliably give desired behavior is to allow the user to manually record renames and copies, the way Mercurial does. Require that git users...
In https://hg.mozilla.org/try/rev/53f0c7b996576b591e1489e07a1e710c90b12cd2, I count six lines the same in a file that goes from 42 to 61 lines, using diff -u. Using diff -uw it's most of the file, but...
The workaround doesn't work if the new file isn't functional in the new location, e.g., porting a test between .html and .xul or from mochitest to wpt. It would be...
The workaround I used that actually worked is to just import into an hg repo. :( Fortunately I do know enough basic hg commands to import a patch from git...