Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pack.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-08-30 00:07:58 +0400
committerJunio C Hamano <gitster@pobox.com>2008-08-30 08:51:27 +0400
commit6ed7f25e95069a900b10f838b15639af3fac05d3 (patch)
tree2bacf7f2feae60bb110154dbe3cc83fc26f280a0 /pack.h
parent53d1589ff6bd336e3ece39e0a963a3d2a537cf96 (diff)
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