As git doesn't preserve mtime AFAIK, the COPYRIGHT_ERROR reports are useless.
Are you suggesting we make this check work in git via an alternate means or do you just want a way to turn it off? -A
I've disabled the mtime check for git here: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=04cdd7c9ecb92caacada00d78d80a9b159d7390c If there's some way to query the mtime from git then we can easily add support for that.
Would using commit time be an acceptable compromise? If you consider committing a change, it makes sense enough to me, and using the commit time from git log -- Filename would be better than just ignoring the copyright.
(In reply to comment #3) > Would using commit time be an acceptable compromise? That's a good idea. I guess the simplest approach would would be to look only at the mtimes of files that have been added or modified, and ignore the rest.
(In reply to comment #4) > (In reply to comment #3) > > Would using commit time be an acceptable compromise? > > That's a good idea. I guess the simplest approach would would be to look only > at the mtimes of files that have been added or modified, and ignore the rest. This is in git now: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ba283624d5e607deffb9b5849ea4890ef773e739
This is in 2.2_rc68, but I'll leave this bug open until it's in an unmasked version.
This is fixed in 2.1.9.