summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-03-04 08:33:19 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-06-10 15:44:05 +0900
commit8d8ad7cadd6bb482fdcda50660b24b9f17980b60 (patch)
tree39dce5e6ee67025abb945e8ee5dcfb340b4aadda
parentcbe3910cf966765ee8706dea5472e2fb1f7bab4c (diff)
downloaddotfiles-8d8ad7cadd6bb482fdcda50660b24b9f17980b60.tar.gz
try to speed git up on Windows
-rw-r--r--.gitconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 8d6054fa..c5abbd7e 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -23,6 +23,10 @@
pager =
excludesfile = ~/.globgitignore
+ # try to speed things up on Windows
+ preloadindex = true
+ fscache = true
+
# my personal repositories cloned via HTTP must be pushed via SSH
[url "ssh://ma/~/local/git/"]
pushInsteadOf = http://spw.sdf.org/git/
@@ -46,3 +50,6 @@
# push strategy
[push]
default = current
+[gc]
+ # try to speed things up on Windows
+ auto = 256