aboutsummaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-02 15:35:22 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-02 15:35:22 -0400
commit7809358e05c702d1a790ed652c017a60a3897389 (patch)
tree72aca396557b8ea945a2271496224f8c45c67733 /doc/tips
parent36dd842c28a09578360e03be8cc5b0c023ae307f (diff)
parent752859b3b927a507e3817532d7783e8c872453a5 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/Repositories_with_large_number_of_files/comment_5_8540bf807eaf1b4e927eafc03deef304._comment21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/tips/Repositories_with_large_number_of_files/comment_5_8540bf807eaf1b4e927eafc03deef304._comment b/doc/tips/Repositories_with_large_number_of_files/comment_5_8540bf807eaf1b4e927eafc03deef304._comment
new file mode 100644
index 000000000..2d1e23866
--- /dev/null
+++ b/doc/tips/Repositories_with_large_number_of_files/comment_5_8540bf807eaf1b4e927eafc03deef304._comment
@@ -0,0 +1,21 @@
+[[!comment format=mdwn
+ username="CandyAngel"
+ subject="comment 5"
+ date="2016-02-02T10:08:06Z"
+ content="""
+Splitting the index (git update-index --split-index) doesn't work for me at all. While it may initially reduce the size of .git/index, making a commit inflates it back to its original size anyway.
+
+I thought it might be some interaction with v4 index and its compression mechanics but it does the same if I set it to v3 index. For (manufactured) example:
+
+ $ git update-index --split-index
+ $ du -sh .git/*index*
+ 4.0K .git/index
+ 76M .git/sharedindex.70e661456302b51a7ec59bf5b32d630e74b34c7c
+
+ ... add 8000 files ...
+
+ $ git commit -m \"add files\"
+ $ du -sh .git/*index*
+ 80M .git/index
+ 76M .git/sharedindex.70e661456302b51a7ec59bf5b32d630e74b34c7c
+"""]]