]> git.phdru.name Git - dotfiles.git/blobdiff - .bash_prompt
.bash_prompt: do not call git update-index
[dotfiles.git] / .bash_prompt
index 5b5c80f9c34d94b7bddf1662635068c4e6aff744..f7ae3bbd991b41a40f4d9fc712d7dc0ca68d5808 100644 (file)
@@ -23,7 +23,7 @@ prompt_git() {
         if [ "$(git rev-parse --is-inside-git-dir 2> /dev/null)" == "false" ]; then
 
             # ensure index is up to date
-            git update-index --really-refresh  -q &>/dev/null
+            #git update-index --really-refresh  -q &>/dev/null
 
             # check for uncommitted changes in the index
             if ! $(git diff --quiet --ignore-submodules --cached); then