branch: externals/agitate commit fa0a9e526098f496cbf3924b619ac5b16c2f2187 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@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