diff options
| author | Visuwesh | 2022-10-08 15:13:48 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-10-08 15:13:48 +0200 |
| commit | e3fac2be0423d8ea7b8418286b791586be8b58fa (patch) | |
| tree | 4b69eac5ad90ea804c123a8e4279b2d343aa1c26 | |
| parent | dc9f07d39f83b86db4e207b670ec15f85bce0add (diff) | |
| download | emacs-e3fac2be0423d8ea7b8418286b791586be8b58fa.tar.gz emacs-e3fac2be0423d8ea7b8418286b791586be8b58fa.zip | |
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).
| -rw-r--r-- | lisp/vc/vc-git.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index f9dae8b9ea3..ea06ccaf870 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\"." | |||
| 1635 | (start-point (when branchp (vc-read-revision | 1635 | (start-point (when branchp (vc-read-revision |
| 1636 | (format-prompt "Start point" | 1636 | (format-prompt "Start point" |
| 1637 | (car (vc-git-branches))) | 1637 | (car (vc-git-branches))) |
| 1638 | (list dir) 'Git)))) | 1638 | (list dir) 'Git (car (vc-git-branches)))))) |
| 1639 | (and (or (zerop (vc-git-command nil t nil "update-index" "--refresh")) | 1639 | (and (or (zerop (vc-git-command nil t nil "update-index" "--refresh")) |
| 1640 | (y-or-n-p "Modified files exist. Proceed? ") | 1640 | (y-or-n-p "Modified files exist. Proceed? ") |
| 1641 | (user-error (format "Can't create %s with modified files" | 1641 | (user-error (format "Can't create %s with modified files" |