I want to move two files from one repository to another. The files were originally added as:
/src/init/Price.cs
/tests/init/PriceTests.cs
The two files were later renamed to:
/src/init/PriceValue.cs
/tests/init/PriceValueTests.cs
And then moved to:
/src/moved/PriceValue.cs
/tests/moved/PriceValueTests.cs
I've tried to go by this description to create a set of patches for these files, but I'm unsure how to pass in the six different paths the files have existed on.
I've managed to find all the commit IDs affecting PriceValue.cs
(across renames and moves), but passing those IDs to Git fails with the following error message:
$ git format-patch -o /tmp/pricevaluepatches $(git log --all dfeeb 6966b 9f882 …)
-bash: /usr/local/bin/git: Argument list too long
So, how do I create a set of patches for this that only contains the changes to the mentioned files, but contains it across one rename and one move of each file?