From c8c6e01a1534d39c17c9f1d29c5a718d7328273d Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Mon, 17 Aug 2009 20:10:08 +0300 Subject: [PATCH] Refresh the index before constructing the status buffer. This should get rid of files that are spuriously listed as modified, while they in fact aren't. --- magit.el | 1 + 1 file changed, 1 insertion(+) diff --git a/magit.el b/magit.el index 40dfe6f8..c931cbfc 100644 --- a/magit.el +++ b/magit.el @@ -1957,6 +1957,7 @@ in log buffer." (if rebase (insert (apply 'format "Rebasing: %s (%s of %s)\n" rebase)))) (insert "\n") + (magit-run-git "update-index" "--refresh") (magit-insert-untracked-files) (magit-insert-stashes) (magit-insert-topics)