1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(vc-git-status-printer): Update the directory display

to match the default.
This commit is contained in:
Dan Nicolaescu 2008-07-22 02:20:10 +00:00
parent 776f7a5f62
commit d1bfcce108
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2008-07-22 Dan Nicolaescu <dann@ics.uci.edu>
* vc-git.el (vc-git-status-printer): Update the directory display
to match the default.
* vc-dir.el (vc-dir-recompute-file-state): Add workaround for CVS.
2008-07-21 Chong Yidong <cyd@stupidchicken.com>

View file

@ -268,9 +268,8 @@
(defun vc-git-status-printer (info)
"Pretty-printer for the vc-dir-fileinfo structure."
(let* ((state (if (vc-dir-fileinfo->directory info)
'DIRECTORY
(vc-dir-fileinfo->state info)))
(let* ((isdir (vc-dir-fileinfo->directory info))
(state (if isdir "" (vc-dir-fileinfo->state info)))
(extra (vc-dir-fileinfo->extra info))
(old-perm (when extra (vc-git-extra-fileinfo->old-perm extra)))
(new-perm (when extra (vc-git-extra-fileinfo->new-perm extra))))