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-08 08:34:06 +0900
commit46589bbd1211b30c3c1813ef158755e8414db879 (patch)
treef89418352db1e932c1a373130cf4ad535cc7be0b
parent81cc12227f0109afec16a2b4ac4471508d23e1dc (diff)
downloaddotfiles-46589bbd1211b30c3c1813ef158755e8414db879.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