summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-05 23:24:57 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-07 02:08:38 -0700
commit5379a5c5ee45d1380240a47573c7571de92626bb (patch)
tree78650a6645af528e687a1b86a26f7acae67771da /tree.c
parentAdd Documentation/technical/pack-format.txt (diff)
downloadtgif-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 'tree.c')
0 files changed, 0 insertions, 0 deletions