summary refs log tree commit diff
path: root/gnu.scm
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-09-08 15:45:39 +0200
committerLudovic Courtès <ludo@gnu.org>2021-09-21 15:15:52 +0200
commit3d15a19874f63dfc15eb6625558f279ccbc71d5d (patch)
tree4a2958c30904718ec62fa23c3eca697a02681ed4 /gnu.scm
parentdbf758ac5e76085ae400425ede0e4142bc606ecf (diff)
downloadguix-3d15a19874f63dfc15eb6625558f279ccbc71d5d.tar.gz
etc: committer: Amend previous commit if a copyright line was added.
Previously, the script would raise an error if a copyright line was added to a
file in gnu/packages/.  With this change, it will amend the previous commit
whenever a copyright line is added, and add the copyright line to the commit.

* etc/committer.scm.in (add-copyright-line): New procedure.
(main): Check if a copyright line was added and call ‘add-copyright-line’ if
necessary.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions