From fb7b13522019d44fa77fb70da7d6eabc07826eb8 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Tue, 18 Aug 2009 11:46:38 +0300 Subject: [PATCH] Don't use the heavy machinery to run "git update-index". And ignore exit code. --- magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magit.el b/magit.el index c931cbfc..4c312958 100644 --- a/magit.el +++ b/magit.el @@ -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)