[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/agitate b74e781026 1/4: Use vc-git--call in agitate-vc-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/agitate b74e781026 1/4: Use vc-git--call in agitate-vc-git-kill-commit-message |
Date: |
Tue, 4 Oct 2022 20:57:16 -0400 (EDT) |
branch: externals/agitate
commit b74e781026ff347b8bac93cea1c834d6ffdf2a27
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Use vc-git--call in agitate-vc-git-kill-commit-message
---
agitate.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agitate.el b/agitate.el
index f1a192f8c5..1bde352aa8 100644
--- a/agitate.el
+++ b/agitate.el
@@ -590,7 +590,7 @@ To kill only the commit hash, use the command
(agitate--vc-git-kill-commit-message-prompt))))
(kill-new
(with-temp-buffer
- (apply 'vc-git-command t nil nil (list "show" hash "--stat" "--no-color"
"--"))
+ (vc-git--call t "show" "--stat" "--no-color" hash "--")
(buffer-substring-no-properties (point-min) (point-max))))
(message "Added %s commit message to `kill-ring'" hash))