diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2008-07-22 02:20:10 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2008-07-22 02:20:10 +0000 |
commit | d1bfcce10871c6def89b62f1fdce28edb2f60ca5 (patch) | |
tree | 71629f35b78e3953fe2c645fa7e122128899fee1 /lisp/vc-git.el | |
parent | 776f7a5f62528f5c6f9dc019bab92a53fa3a11cb (diff) | |
download | emacs-d1bfcce10871c6def89b62f1fdce28edb2f60ca5.tar.gz |
(vc-git-status-printer): Update the directory display
to match the default.
Diffstat (limited to 'lisp/vc-git.el')
-rw-r--r-- | lisp/vc-git.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/vc-git.el b/lisp/vc-git.el index 9f18418425e..5c0b9129485 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -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)))) |