I'm currently inside a very complicated merge in git, and I have many conflicts. The conflict is about two Ada source files.
I would like to make a merge that would ignore both whitespace changes and case changes (as the Ada language is case insensitive). Do you know if there is a way to tell git to ignore some kind of changes before a merge ?
My solution is currently to run the GNAT pretty print on both branches before the merge, but if there was a common solution included in git, that would help me a lot.
from the release notes of git 1.7.4:
* The "recursive" strategy also learned to ignore various whitespace changes; the most notable is -Xignore-space-at-eol.
I don't know if there is a strategy to ignore case changes though
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