diff options
author | 2015-05-20 14:14:32 +0000 | |
---|---|---|
committer | 2015-05-20 14:14:32 +0000 | |
commit | 9df7967043e8acc8343782063ca7d7895c6fb1b2 (patch) | |
tree | 4dbb853060c6fccd1143d4ca810373f76140b430 | |
parent | d6c987e273aa73a2dbce009dc1f69f1471b763a1 (diff) |
Added a comment
-rw-r--r-- | doc/forum/__34__git_annex_sync__34___synced_after_8_hours/comment_6_0714eca58513f1059fc246ee152078e7._comment | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/forum/__34__git_annex_sync__34___synced_after_8_hours/comment_6_0714eca58513f1059fc246ee152078e7._comment b/doc/forum/__34__git_annex_sync__34___synced_after_8_hours/comment_6_0714eca58513f1059fc246ee152078e7._comment new file mode 100644 index 000000000..fbf7265ff --- /dev/null +++ b/doc/forum/__34__git_annex_sync__34___synced_after_8_hours/comment_6_0714eca58513f1059fc246ee152078e7._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="candyangel@7b9260fff42e1f6f552e1348007f7409a9101e82" + nickname="candyangel" + subject="comment 6" + date="2015-05-20T14:14:32Z" + content=""" +I've just come across something else which has sped up git operations on the index a *lot*. + +My $annex/.git/index was over 500M which made operations on the index really slow (git add/rm etc.) as it gets rewritten out in its entirety, every time! + + git update-index --index-version 4 + +brought it down to 200M, making everything much, much faster! + +[There is a warning in the git documentation](http://git-scm.com/docs/git-update-index) that alternative git implementations might not understand it, so bear that in mind if you want to use it. +"""]] |