diff options
author | http://joey.kitenet.net/ <joey@web> | 2011-03-16 04:06:19 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-03-16 04:06:19 +0000 |
commit | 2e26caa8568001b33a969efc46f6911278686e0e (patch) | |
tree | 729bca7d30319c12e0554d033084d8e8ddaa2628 /doc | |
parent | fd2f04694f8ba52d9b67e35c95f1bddc33bbe292 (diff) |
Added a comment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/hashing_objects_directories/comment_4_0de9170e429cbfea66f5afa8980d45ac._comment | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/forum/hashing_objects_directories/comment_4_0de9170e429cbfea66f5afa8980d45ac._comment b/doc/forum/hashing_objects_directories/comment_4_0de9170e429cbfea66f5afa8980d45ac._comment new file mode 100644 index 000000000..b29eea1b2 --- /dev/null +++ b/doc/forum/hashing_objects_directories/comment_4_0de9170e429cbfea66f5afa8980d45ac._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://joey.kitenet.net/" + nickname="joey" + subject="comment 4" + date="2011-03-16T04:06:19Z" + content=""" +The .git-annex/ directory is what really needs hashing. + +Consider that when git looks for changes in there, it has to scan every file in the directory. With hashing, it should be able to more quickly identify just the subdirectories that contained changed files, by the directory mtimes. + +And the real kicker is that when committing there, git has to create a tree object containing every single file, even if only 1 file changed. That will be a lot of extra work; with hashed subdirs it will instead create just 2 or 3 small tree objects leading down to the changed file. (Probably these trees both pack down to similar size pack files, not sure.) +"""]] |