Don't use the heavy machinery to run "git update-index".

And ignore exit code.
This commit is contained in:
Marius Vollmer 2009-08-18 11:46:38 +03:00
parent c8c6e01a15
commit fb7b135220

View file

@ -1957,7 +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-git-exit-code "update-index" "--refresh")
(magit-insert-untracked-files)
(magit-insert-stashes)
(magit-insert-topics)