diff options
author | Juri Linkov <juri@linkov.net> | 2020-07-02 01:08:18 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2020-07-02 01:08:18 +0300 |
commit | c70a3a41630a39283f10f183cefb4643a6d424cc (patch) | |
tree | 3dfd7c8d864d035a14e9b104067be66e89c3afe7 /lisp/vc/vc.el | |
parent | aa6c35e95f8f5014894c3c8db33524b70d4ee055 (diff) | |
download | emacs-c70a3a41630a39283f10f183cefb4643a6d424cc.tar.gz emacs-c70a3a41630a39283f10f183cefb4643a6d424cc.tar.bz2 emacs-c70a3a41630a39283f10f183cefb4643a6d424cc.zip |
Revert feature added in bfd96e995d using project directories in vc (bug#41821)
Diffstat (limited to 'lisp/vc/vc.el')
-rw-r--r-- | lisp/vc/vc.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 49323ef47d2..65775f8e46e 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -2001,8 +2001,7 @@ saving the buffer." rootdir working-revision) (if backend (setq rootdir (vc-call-backend backend 'root default-directory)) - (setq rootdir (read-directory-name "Directory for VC root-diff: " - nil (vc-known-roots))) + (setq rootdir (read-directory-name "Directory for VC root-diff: ")) (setq backend (vc-responsible-backend rootdir)) (if backend (setq default-directory rootdir) @@ -2546,8 +2545,7 @@ with its diffs (if the underlying VCS supports that)." rootdir) (if backend (setq rootdir (vc-call-backend backend 'root default-directory)) - (setq rootdir (read-directory-name "Directory for VC revision log: " - nil (vc-known-roots))) + (setq rootdir (read-directory-name "Directory for VC revision log: ")) (setq backend (vc-responsible-backend rootdir)) (unless backend (error "Directory is not version controlled"))) |