From: Joey Hess Date: Fri, 13 Nov 2020 19:57:35 +0000 (-0400) Subject: measurement X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~2^2^2~80^2~74 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f07670a282704dd894bd556e573aebb61568babf;p=git-annex.git measurement --- diff --git a/doc/todo/update_adjusted_branch_on_content_availability_change.mdwn b/doc/todo/update_adjusted_branch_on_content_availability_change.mdwn index cb3d21a38f..f41b25f129 100644 --- a/doc/todo/update_adjusted_branch_on_content_availability_change.mdwn +++ b/doc/todo/update_adjusted_branch_on_content_availability_change.mdwn @@ -71,6 +71,12 @@ them once they reach a pack file seems hard.) when an object in the buffer gets replaced with another object for the same tree position, delete the old object from .git/objects.) +A git repo containing 10000 commits, starting with 10000 files and ending +with 0, deleting 1 file per commit, weighs in at 99mb. That's with +short filenames, more typical filenames would add to it. (It packs down to +9 mb, but that's just extra work for objects that will get gc'ed away +eventually.) + ## slowness in writing git objects git-annex uses git commit-tree to create new commits on the adjusted