diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-01-17 12:36:21 -0800 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-01-17 12:36:21 -0800 |
commit | 4d0bbcb62adfaa4d29657ee93dfbd7fec2bd51f5 (patch) | |
tree | 67f16df6087358fbde18e6185142d4f5a888b363 | |
parent | 607d436922d20758f2af4b70a0c53e73739b5487 (diff) |
(vc-dir-resynch-file): Update the vc-dir header when
resyncing a directory.
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/vc-dir.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6e83068426..fb14b30ac2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-01-17 Dan Nicolaescu <dann@ics.uci.edu> + + * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when + resyncing a directory. + 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org> * progmodes/ada-mode.el: Fix bug#1920, bug#5400. diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el index 575a64c1f8..2f661e8bec 100644 --- a/lisp/vc-dir.el +++ b/lisp/vc-dir.el @@ -874,7 +874,10 @@ If it is a file, return the corresponding cons for the file itself." (let ((ddir default-directory)) (when (vc-string-prefix-p ddir file) (if (file-directory-p file) - (vc-dir-resync-directory-files file) + (progn + (vc-dir-resync-directory-files file) + (ewoc-set-hf vc-ewoc + (vc-dir-headers vc-dir-backend default-directory) "")) (let ((state (vc-dir-recompute-file-state file ddir))) (vc-dir-update (list state) |