emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/agitate fa0a9e5260 42/67: Add echo to agitate-vc-git-ki


From: ELPA Syncer
Subject: [elpa] externals/agitate fa0a9e5260 42/67: Add echo to agitate-vc-git-kill-commit-message
Date: Wed, 28 Sep 2022 16:57:28 -0400 (EDT)

branch: externals/agitate
commit fa0a9e526098f496cbf3924b619ac5b16c2f2187
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add echo to agitate-vc-git-kill-commit-message
---
 agitate.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/agitate.el b/agitate.el
index ac15422f9d..5116cec958 100644
--- a/agitate.el
+++ b/agitate.el
@@ -298,7 +298,8 @@ This is useful to quote a past commit message."
   (kill-new
    (with-temp-buffer
      (apply 'vc-git-command t nil nil (list "log" hash "-1" "--stat" 
"--no-color" "--"))
-     (buffer-substring-no-properties (point-min) (point-max)))))
+     (buffer-substring-no-properties (point-min) (point-max))))
+  (message "Added %s commit message to `kill-ring'" hash))
 
 ;; TODO 2022-09-27: We can have something similar which prompts for a
 ;; branch to push to.  There are lots of possibilities.  The idea is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]