aboutsummaryrefslogtreecommitdiff
path: root/guix/utils.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-04-25 22:56:08 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-05-31 14:52:13 -0400
commit5e6efdfeecae82315862ebee95ce02bb868eb0f3 (patch)
tree6fcd4998df8f6a38b85a84ec8e185a738df65ea6 /guix/utils.scm
parent6c956243bc7972644e947563a45e33d73042afdc (diff)
downloadguix-5e6efdfeecae82315862ebee95ce02bb868eb0f3.tar
guix-5e6efdfeecae82315862ebee95ce02bb868eb0f3.tar.gz
etc/committer: Teach it how to commit package removal.
* etc/committer.scm.in (hunk-types): New variable. (<hunk>): Rename hunk-definition? getter to 'hunk-type'. (diff-info): Mute a git warning by separating file names from arguments with '--'. Rename the 'definitions?' variable to 'type'. Use the 'addition type when a new package addition is detected, 'removal when removed else #f. (add-commit-message): Re-indent. (remove-commit-message): New procedure. (main)[definitions]: Make commit message conditional depending on whether it is an addition or removal. [changes]: Adjust indentation.
Diffstat (limited to 'guix/utils.scm')
0 files changed, 0 insertions, 0 deletions