[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vc-got 30dcede 015/145: remove ``Summary'' from the com
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vc-got 30dcede 015/145: remove ``Summary'' from the commit |
Date: |
Thu, 9 Sep 2021 15:58:24 -0400 (EDT) |
branch: externals/vc-got
commit 30dcedecffad644f77c4de56ad8817cd6ab02c03
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>
remove ``Summary'' from the commit
Emacs add this ``Summary: '' string. it's quite annoying. vc-git
doesn't seem to handle this specially, but maybe is git (the cli) that
trims it? I need to check. In the meantime, drop it.
---
vc-got.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/vc-got.el b/vc-got.el
index 1c0b612..860a9a2 100644
--- a/vc-got.el
+++ b/vc-got.el
@@ -371,7 +371,12 @@ DIR-OR-FILE."
(defun vc-got-checkin (files comment &optional _rev)
"Commit FILES with COMMENT as commit message."
(with-temp-buffer
- (apply #'vc-got--call "commit" "-m" comment files)))
+ (apply #'vc-got--call "commit" "-m"
+ ;; emacs add ``Summary:'' at the start of the commit
+ ;; message. vc-git doesn't seem to treat this specially.
+ ;; Since it's annoying, remove it.
+ (string-remove-prefix "Summary: " comment)
+ files)))
(defun vc-got-find-revision (file rev buffer)
"Fill BUFFER with the content of FILE in the given revision REV."
- [elpa] externals/vc-got 009222a 006/145: add licence, (continued)
- [elpa] externals/vc-got 009222a 006/145: add licence, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got f18d3e1 012/145: Summary: add todo to vc-got-diff, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 35b3a91 016/145: correct also the other example, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 4093d2f 008/145: fix vc-got-registered, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 1ca0183 014/145: Summary: fix use-package example, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 08ca3c5 007/145: added readme, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got c0c9a33 009/145: docs improvement, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 518ede1 010/145: augment vc-got--log, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got eb85ad2 011/145: implemented remaninig state-changing and some history functions, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 4571b1f 013/145: Summary: got log expects a relative path, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 30dcede 015/145: remove ``Summary'' from the commit,
ELPA Syncer <=
- [elpa] externals/vc-got 694534b 017/145: implemented vc-got-mode-line-string, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 345290b 020/145: improve vc-got–diff and vc-got-diff, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 52a1813 021/145: add-to-list is better at strings than cl-pushnew, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got f2e1ddb 028/145: document vc-got-stage-mode, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 686eac9 026/145: implemented vc-got-push, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got a8466f0 022/145: implement dir-extra-headers, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 9ad1eb5 025/145: implemented vc-got-log-outgoing, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got a5e9be3 029/145: fix table, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got cdd3e16 030/145: use vc-find-root instead of vc-got-root, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 6eda2f1 035/145: vc-got-log-incoming, ELPA Syncer, 2021/09/09