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.
This commit is contained in:
parent
60ae735a10
commit
c8c6e01a15
1 changed files with 1 additions and 0 deletions
1
magit.el
1
magit.el
|
@ -1957,6 +1957,7 @@ in log buffer."
|
||||||
(if rebase
|
(if rebase
|
||||||
(insert (apply 'format "Rebasing: %s (%s of %s)\n" rebase))))
|
(insert (apply 'format "Rebasing: %s (%s of %s)\n" rebase))))
|
||||||
(insert "\n")
|
(insert "\n")
|
||||||
|
(magit-run-git "update-index" "--refresh")
|
||||||
(magit-insert-untracked-files)
|
(magit-insert-untracked-files)
|
||||||
(magit-insert-stashes)
|
(magit-insert-stashes)
|
||||||
(magit-insert-topics)
|
(magit-insert-topics)
|
||||||
|
|
Loading…
Add table
Reference in a new issue