summary refs log tree commit diff
path: root/etc/snippets/text-mode/guix-commit-message-update-package
blob: 79fcf7c6e3922e08344ea566376908dfec1af91a (plain) (blame)
1
2
3
4
5
6
7
8
9
# -*- mode: snippet -*-
# name: guix-commit-message-update-package
# key: update
# condition: git-commit-mode
# --
gnu: $1: Update to $2.

* `(car (magit-staged-files))` ($1): Update to $2.$0
`(mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files)) "\n")`