blob b5e41709f5f979c8ed63fdd5085c356c2a7436f4 553 bytes (raw)
name: etc/snippets/yas/log-edit-mode/guix-vc-commit-message-update-package # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
| | # -*- mode: snippet -*-
# name: guix-vc-commit-message-update-package
# key: update
# --
gnu: ${1:`(when (string-match "^[ ]*(define-public \\(\\S-+\\)" vc-patch-string)
(match-string-no-properties 1 vc-patch-string))`}: Update to ${2:`
(when (string-match "^\\+[ ]*(version \"\\(.*\\)\"" vc-patch-string)
(match-string-no-properties 1 vc-patch-string))`}.
* `(car (log-edit-files))` ($1): Update to $2.$0
`(mapconcat (lambda (file) (concat "* " file)) (cdr (log-edit-files)) "\n")`
|
debug log:
solving b5e41709f5f979c8ed63fdd5085c356c2a7436f4 ...
found b5e41709f5f979c8ed63fdd5085c356c2a7436f4 in https://git.savannah.gnu.org/cgit/guix.git
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.