summaryrefslogtreecommitdiff
path: root/tree-diff.c
diff options
context:
space:
mode:
authorDana L. How <danahow@gmail.com>2007-05-13 12:06:18 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-20 21:55:26 -0700
commit17b08f2cd0000d42bb9f0a36354ab9300d64d420 (patch)
tree470437c6000785bcbf661ff95683d0ca25d88d67 /tree-diff.c
parentd01fb92f8d27cf8f0a843f4e9c0f8f022856b34d (diff)
downloadgit-17b08f2cd0000d42bb9f0a36354ab9300d64d420.tar.gz
git-repack --max-pack-size: write_{object,one}() respect pack limit
With --max-pack-size, generate the appropriate write limit for each object and check against it before each group of writes. Update delta usability rules to handle base being in a previously- written pack. Inline sha1write_compress() so we know the exact size of the written data when it needs to be compressed. Detect and return write "failure". Signed-off-by: Dana L. How <danahow@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions