Notify the user if we errors when querying for registered git files
* lisp/vc/vc-git.el (vc-git-registered): Notify the user when something fails here (bug#18481).
This commit is contained in:
parent
97896e68f9
commit
991e145450
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ toggle display of the entire list."
|
|||
;; path specs.
|
||||
;; See also: http://marc.info/?l=git&m=125787684318129&w=2
|
||||
(name (file-relative-name file dir))
|
||||
(str (ignore-errors
|
||||
(str (with-demoted-errors "Error: %S"
|
||||
(cd dir)
|
||||
(vc-git--out-ok "ls-files" "-c" "-z" "--" name)
|
||||
;; If result is empty, use ls-tree to check for deleted
|
||||
|
|
Loading…
Add table
Reference in a new issue