aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-08 18:37:22 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-08 18:37:22 +0200
commit1b2fd28d8bd7eed820c56666c131909afe6bbcb3 (patch)
treefe5e2533e7fa815df5c1fb9f832100bbd7dccf90
parent82ad94d678337390e6df2c217df25471d3ab5b65 (diff)
downloaddotfiles-1b2fd28d8bd7eed820c56666c131909afe6bbcb3.tar.xz
git: write bitmap indexes when packing objects
pack.writebitmaps When true, git will write a bitmap index when packing all objects to disk (e.g., when git repack -a is run). This index can speed up the "counting objects" phase of subsequent packs created for clones and fetches, at the cost of some disk space and extra time spent on the initial repack. Defaults to false.
-rw-r--r--git/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/config b/git/config
index 52805b5..5a9e373 100644
--- a/git/config
+++ b/git/config
@@ -29,3 +29,5 @@
helper = /usr/share/git/credential/gnome-keyring/git-credential-gnome-keyring
[status]
showuntrackedfiles = no
+[pack]
+ writebitmaps = true