summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-03-04 08:33:19 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-05-26 08:44:32 +0900
commita194124cf64ebc8fe0d17055c05478325ba6fdd4 (patch)
tree99b6cc320b28bfd0e338da5124d5411611017b3b
parent640872ba691fadb8604112f97bcf4b1be95bc9a3 (diff)
downloaddotfiles-a194124cf64ebc8fe0d17055c05478325ba6fdd4.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