I have big ant project versioned in Git. We are currently changing building tool to maven. It means move all java source files into different directory structure. I created bash script to move java sources into one directory tree and other resources to another dir. tree. I'm converting one module (source code set) after another.
I run git status
after moving each module and at first i see right status RENAMED
with each file.
After i move another module and number of moved files reach about 100, git stops recognizing moved files and decouples them. That means that after running git status
i see each file (event those recognized correctly before) twice. One DELETED
in old path and one NEW FILE
in new path.
Is there something that limits amount of files automatically resolved as renamed?
What is your value of
diff.renameLimit
?
Try to set
git config diff.renameLimit 0
to disable the limit or try to set a very high value.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With