diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-05 23:24:57 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-07 02:08:38 -0700 |
commit | 5379a5c5ee45d1380240a47573c7571de92626bb (patch) | |
tree | 78650a6645af528e687a1b86a26f7acae67771da /git-pull.sh | |
parent | Add Documentation/technical/pack-format.txt (diff) | |
download | tgif-5379a5c5ee45d1380240a47573c7571de92626bb.tar.xz |
Thin pack generation: optimization.
Jens Axboe noticed that recent "git push" has become very slow
since we made --thin transfer the default.
Thin pack generation to push a handful revisions that touch
relatively small number of paths out of huge tree was stupid; it
registered _everything_ from the excluded revisions. As a
result, "Counting objects" phase was unnecessarily expensive.
This changes the logic to register the blobs and trees from
excluded revisions only for paths we are actually going to send
to the other end.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-pull.sh')
0 files changed, 0 insertions, 0 deletions