Hello,
I'm starting tests to move from cvs to git, and I have a problem on all my tests.
We maintain a custom copy of FreeBSD sources, so in cvs we do the following when a new FreeBSD version is released:
- Import new freebsd src as a vendor branch
- Merge changes on HEAD
I tried to do the same with git, and it worked, but almost all FreeBSD files have a custom Id like this:
$FreeBSD: release/7.0.0/COPYRIGHT 175036 2008-01-01 09:36:30Z imp $
These lines always change, and because of the place they are stored in the svn repository (release/7.0.0, 7.1.0, 7.2.0), git generates a lot of conflicts that needed to be fixed manually.
I would like to know if there is a way to configure git to just ignore diffs on these lines and use the new one without asking.
I can do it with diff command ignoring those lines, like this:
diff -q -I'[$]FreeBSD:.*$'
Thank you in advance.