From 61db2dcfe0fdccd2c93bbe3e135a8ff4764ad02e Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Fri, 5 Apr 2013 06:33:58 +0000 Subject: Added a comment --- .../comment_2_6a27551c4fb7f62ed9f627134c755d01._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/bugs/git-annex_add_should_repack_as_it_goes/comment_2_6a27551c4fb7f62ed9f627134c755d01._comment diff --git a/doc/bugs/git-annex_add_should_repack_as_it_goes/comment_2_6a27551c4fb7f62ed9f627134c755d01._comment b/doc/bugs/git-annex_add_should_repack_as_it_goes/comment_2_6a27551c4fb7f62ed9f627134c755d01._comment new file mode 100644 index 000000000..6f2207a6a --- /dev/null +++ b/doc/bugs/git-annex_add_should_repack_as_it_goes/comment_2_6a27551c4fb7f62ed9f627134c755d01._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + nickname="joey" + subject="comment 2" + date="2013-04-05T06:33:54Z" + content=""" +`git repack` took 18 minutes. However, it actually only packed the objects for the commit `git annex add` makes to the git-annex branch. Objects for the staged symlinks are left loose, presumably because no commit refers to them. + +Unsurprisingly, then, `git commit` still took as long as before. + +I then ran `git repack` again. It packed all the loose objects this time. After this, `git commit` only takes 11 seconds. If I remove the `pre-commit` hook, it drops to a respectable 5 seconds. + + +"""]] -- cgit v1.2.3