mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
vc-git--deduce-files-for-stash: Use file-relative-name (bug#80278)
* lisp/vc/vc-git.el (vc-git--deduce-files-for-stash): Use file-relative-name (bug#80278).
This commit is contained in:
parent
583a112169
commit
f2b81c38c2
1 changed files with 3 additions and 3 deletions
|
|
@ -2592,9 +2592,9 @@ This command shares argument histories with \\[rgrep] and \\[grep]."
|
|||
;; In *vc-dir*, if nothing is marked, act on the whole working tree
|
||||
;; regardless of the position of point. This preserves historical
|
||||
;; behavior and is also probably more useful.
|
||||
(if (derived-mode-p 'vc-dir-mode)
|
||||
(vc-dir-marked-files)
|
||||
(cadr (vc-deduce-fileset))))
|
||||
(mapcar #'file-relative-name (if (derived-mode-p 'vc-dir-mode)
|
||||
(vc-dir-marked-files)
|
||||
(cadr (vc-deduce-fileset)))))
|
||||
|
||||
(defun vc-git-stash (name)
|
||||
"Create a stash named NAME.
|
||||
|
|
|
|||
Loading…
Reference in a new issue