emacs-diffs
[Top][All Lists]
Advanced

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

master 6fc1b79: vc-create-tag: use vc-revision-history variable


From: Dmitry Gutov
Subject: master 6fc1b79: vc-create-tag: use vc-revision-history variable
Date: Sat, 12 Dec 2020 21:00:58 -0500 (EST)

branch: master
commit 6fc1b795c1bfaded853b1dff225b0c3628014dd7
Author: Andrii Kolomoiets <andreyk.mad@gmail.com>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    vc-create-tag: use vc-revision-history variable
    
    * lisp/vc/vc.el (vc-create-tag): Use 'vc-revision-history' variable.
---
 lisp/vc/vc.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index b3b0583..7d9af00 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -2325,7 +2325,8 @@ checked out in that new branch."
          ;; to ask for a directory, branches are created at repository level.
          default-directory
        (read-directory-name "Directory: " default-directory default-directory 
t))
-      (read-string (if current-prefix-arg "New branch name: " "New tag name: 
"))
+      (read-string (if current-prefix-arg "New branch name: " "New tag name: ")
+                   nil 'vc-revision-history)
       current-prefix-arg)))
   (message "Making %s... " (if branchp "branch" "tag"))
   (when (file-directory-p dir) (setq dir (file-name-as-directory dir)))



reply via email to

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