I am running tests to migrate from cvs to git and I have a problem in all my tests.
We keep a custom copy of FreeBSD sources, so in cvs we do the following when the new version of FreeBSD is released:
- Import new freebsd src as a vendor branch
- Combine changes in HEAD
I tried to do the same with git and it worked, but almost all FreeBSD files have a user identifier like this:
$FreeBSD: release/7.0.0/COPYRIGHT 175036 2008-01-01 09:36:30Z imp $
These lines always change, and due to the place where they are stored in the svn repository (release / 7.0.0, 7.1.0, 7.2.0), git generates a lot of conflicts that need to be fixed manually.
I would like to know if there is a way to configure git to simply ignore the differences in these lines and use a new one without a request.
I can do this with the diff command, ignoring these lines, for example:
diff -q -I'[$]FreeBSD:.*$'
Thanks in advance.
source share