]> gitweb.fluxo.info Git - metadot.git/commitdiff
Unset GIT_PS1_SHOWDIRTYSTATE and GIT_PS1_SHOWSTASHSTATE for performance
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 30 Sep 2013 15:30:42 +0000 (12:30 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 30 Sep 2013 15:30:42 +0000 (12:30 -0300)
modules/profile/profile.dot.link

index d9a05700f696127f5ad180cac1050345f8da7b55..5ef25dfc25ab5ac19b673b3b409fe59bc235a1f1 100644 (file)
@@ -26,8 +26,9 @@ export CDPATH=".:~:~/code:~/data:~/file:/var/www/data"
 export EDITOR="vim -X"
 
 # Basic git configuration
-export GIT_PS1_SHOWDIRTYSTATE="1"
-export GIT_PS1_SHOWSTASHSTATE="1"
+# See http://stackoverflow.com/questions/4192014/git-ps1-extremely-slow-in-kernel-tree
+export GIT_PS1_SHOWDIRTYSTATE=""
+export GIT_PS1_SHOWUNTRACKEDFILES=""
 
 # Temporary folder
 export TMPDIR="$HOME/temp/misc"