unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob cc2dddb1e02391677fa58a52bb6896bffe302cbd 358 bytes (raw)
name: etc/snippets/yas/log-edit-mode/guix-vc-commit-message-add-package 	 # note: path name is non-authoritative(*)

1
2
3
4
5
6
7
8
9
 
# -*- mode: snippet -*-
# name: guix-vc-commit-message-add-package
# key: add
# --
gnu: Add ${1:`(when (string-match "\\+(define-public \\(\\S-+\\)" vc-patch-string)
                (match-string-no-properties 1 vc-patch-string))`}.

* `(car (log-edit-files))` ($1): New variable.
`(mapconcat (lambda (file) (concat "* " file)) (cdr (log-edit-files)) "\n")`

debug log:

solving cc2dddb1e0 ...
found cc2dddb1e0 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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).