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

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

[elpa] externals/vc-got 489c6310a6: add support for the Author header in


From: ELPA Syncer
Subject: [elpa] externals/vc-got 489c6310a6: add support for the Author header in vc-log
Date: Tue, 26 Jul 2022 05:58:11 -0400 (EDT)

branch: externals/vc-got
commit 489c6310a6f64bc73ea3eeda5dc9a96ad8bf5043
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>

    add support for the Author header in vc-log
    
    it gets mapped to the new `got commit -A' flag and overrides the
    author.
---
 vc-got.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vc-got.el b/vc-got.el
index 21b2eb836a..1c5aef4099 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -600,7 +600,9 @@ Got uses an implicit checkout model for every file."
   "Commit FILES with COMMENT as commit message."
   (with-temp-buffer
     (unless (zerop (vc-got--call "commit" "-m"
-                                 (log-edit-extract-headers nil comment)
+                                 (log-edit-extract-headers
+                                  '(("Author" . "-A"))
+                                  comment)
                                  "--"
                                  files))
       (error "[vc-got] can't commit: %s" (buffer-string)))))



reply via email to

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