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>
(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))))