Don't use the heavy machinery to run "git update-index".
And ignore exit code.
This commit is contained in:
parent
c8c6e01a15
commit
fb7b135220
1 changed files with 1 additions and 1 deletions
2
magit.el
2
magit.el
|
@ -1957,7 +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-git-exit-code "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