emacs-diffs
[Top][All Lists]
Advanced

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

master e3fac2be04: Fix misleading prompt in vc-git-create-tag


From: Lars Ingebrigtsen
Subject: master e3fac2be04: Fix misleading prompt in vc-git-create-tag
Date: Sat, 8 Oct 2022 09:14:02 -0400 (EDT)

branch: master
commit e3fac2be0423d8ea7b8418286b791586be8b58fa
Author: Visuwesh <visuweshm@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix misleading prompt in vc-git-create-tag
    
    * lisp/vc/vc-git.el (vc-git-create-tag): Actually pass the DEFAULT
    argument to vc-read-revision (bug#58378).
---
 lisp/vc/vc-git.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index f9dae8b9ea..ea06ccaf87 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1635,7 +1635,7 @@ This requires git 1.8.4 or later, for the \"-L\" option 
of \"git log\"."
         (start-point (when branchp (vc-read-revision
                                     (format-prompt "Start point"
                                                    (car (vc-git-branches)))
-                                    (list dir) 'Git))))
+                                    (list dir) 'Git (car (vc-git-branches))))))
     (and (or (zerop (vc-git-command nil t nil "update-index" "--refresh"))
              (y-or-n-p "Modified files exist.  Proceed? ")
              (user-error (format "Can't create %s with modified files"



reply via email to

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