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 0000000000..fbf7265ffb --- /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. +"""]]