diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2018-07-05 17:12:43 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2018-07-13 12:45:11 +0530 |
commit | 9286c2950494b110e12d58d4ebd693d614120afe (patch) | |
tree | 2fb5134aad9b9d20602a11f50293722dd599d081 /etc/snippets/text-mode | |
parent | 202befb4ae775cfdab1566f4a69ec184406a56be (diff) |
etc: snippets: Add guix-commit-message-use-https-home-page.
* etc/snippets/text-mode/guix-commit-message-use-https-home-page: New file.
* doc/contributing.texi (The Perfect Setup): Document new snippet.
Diffstat (limited to 'etc/snippets/text-mode')
-rw-r--r-- | etc/snippets/text-mode/guix-commit-message-use-https-home-page | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/snippets/text-mode/guix-commit-message-use-https-home-page b/etc/snippets/text-mode/guix-commit-message-use-https-home-page new file mode 100644 index 0000000000..df20d31a80 --- /dev/null +++ b/etc/snippets/text-mode/guix-commit-message-use-https-home-page @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: guix-commit-message-use-https-home-page +# key: https +# condition: git-commit-mode +# -- +gnu: $1: Use HTTPS home page URI. + +* `(car (magit-staged-files))` ($1)[home-page]: Use HTTPS URI. +`(mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files)) "\n")`
\ No newline at end of file |