[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
204/204: snippets: Add a 'remove' snippet.
From: |
guix-commits |
Subject: |
204/204: snippets: Add a 'remove' snippet. |
Date: |
Wed, 20 Apr 2022 02:03:47 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 01f3a9e285736ef61f1fdc97a13d8201efce8ce2
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 20 01:53:31 2022 -0400
snippets: Add a 'remove' snippet.
* etc/snippets/text-mode/guix-commit-message-remove-package: New file.
---
etc/snippets/text-mode/guix-commit-message-remove-package | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/etc/snippets/text-mode/guix-commit-message-remove-package
b/etc/snippets/text-mode/guix-commit-message-remove-package
new file mode 100644
index 0000000000..0c1050f4fe
--- /dev/null
+++ b/etc/snippets/text-mode/guix-commit-message-remove-package
@@ -0,0 +1,13 @@
+# -*- mode: snippet -*-
+# name: guix-commit-message-remove-package
+# key: remove
+# condition: git-commit-mode
+# --
+gnu: Remove ${1:`(with-temp-buffer
+ (magit-git-wash #'magit-diff-wash-diffs
+ "diff" "--staged")
+ (goto-char (point-min))
+ (when (re-search-forward "\\-(define-public \\(\\S-+\\)"
nil 'noerror)
+ (match-string-no-properties 1)))`}.
+
+* `(car (magit-staged-files))` ($1): Delete variable.
- 170/204: gnu: Add python-bson., (continued)
- 170/204: gnu: Add python-bson., guix-commits, 2022/04/20
- 171/204: gnu: python-can: Update to 4.0.0., guix-commits, 2022/04/20
- 174/204: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/04/20
- 177/204: gnu: Add python-toolrack., guix-commits, 2022/04/20
- 178/204: gnu: sshoot: Update to 1.5.1., guix-commits, 2022/04/20
- 181/204: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/04/20
- 190/204: gnu: python-miio: Update to 0.5.11., guix-commits, 2022/04/20
- 193/204: gnu: weasyprint: Update to 54.3., guix-commits, 2022/04/20
- 202/204: gnu: python-flask-wtf: Update to 1.0.1., guix-commits, 2022/04/20
- 197/204: gnu: setzer: Add python-wrapper to fix build., guix-commits, 2022/04/20
- 204/204: snippets: Add a 'remove' snippet.,
guix-commits <=
- 164/204: gnu: python-types-dataclasses: Fix typo., guix-commits, 2022/04/20
- 165/204: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/04/20
- 166/204: gnu: python-readme-renderer: Update to 34.0., guix-commits, 2022/04/20
- 183/204: gnu: Add python-mdx-gh-links., guix-commits, 2022/04/20
- 199/204: gnu: python-keyring: Fix test suite., guix-commits, 2022/04/20
- 184/204: gnu: python-mkdocs: Update to 1.3.0., guix-commits, 2022/04/20
- 200/204: gnu: Remove python2-keyring., guix-commits, 2022/04/20
- 201/204: gnu: python-pingouin: Update to 0.5.1., guix-commits, 2022/04/20
- 82/204: gnu: Add python-ufolib2., guix-commits, 2022/04/20
- 122/204: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/20