summaryrefslogtreecommitdiff
path: root/pack.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-08-29 20:07:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-30 04:51:27 (GMT)
commit6ed7f25e95069a900b10f838b15639af3fac05d3 (patch)
tree2bacf7f2feae60bb110154dbe3cc83fc26f280a0 /pack.h
parent53d1589ff6bd336e3ece39e0a963a3d2a537cf96 (diff)
downloadgit-6ed7f25e95069a900b10f838b15639af3fac05d3.zip
git-6ed7f25e95069a900b10f838b15639af3fac05d3.tar.gz
git-6ed7f25e95069a900b10f838b15639af3fac05d3.tar.bz2
pack-objects: improve returned information from write_one()
This function returns 0 when the current object couldn't be written due to the pack size limit, otherwise the current offset in the pack. There is a problem with this approach however, since current object could be a delta and its delta base might just have been written in the same write_one() call, but those successfully written objects are not accounted in the offset variable tracked by the caller. Currently this is not an issue but a subsequent patch will need this. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack.h')
0 files changed, 0 insertions, 0 deletions