3 ms·
>> automatic generation of AUTHORS and ChangeLog files based on git history >I used to think this was a good idea. Then I found a huge loophole in it: if I cop
by Daviey 9y ago
>> automatic generation of AUTHORS and ChangeLog files based on git history
>I used to think this was a good idea. Then I found a huge loophole in it: if I copy-paste code from another FLOSS project, then that code's author should still be listed, but won't have any commits.
If you think that the other person deserves all the credit for the change, set the author with:
git commit --author="Guido van Rossum <guido@python.org>"
If you deserve the responsibility/credit/blame for the commit, give credit to the other person in such a way pbr will pick it up, by adding to your commit message:
Co-authored-by: Guido van Rossum <guido@python.org>