Sometimes I notice repoman call update_copyright for files that have not really changed. If the git index is not completely in sync with the file (stat result differs), then repoman thinks the file has changed because it shows up in the output of this command: git diff-index --name-only --relative --diff-filter=M HEAD If we call `git update-index --refresh` first, then we can avoid spurious copyright header updates.
repoman support has been removed per bug 835013. Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.