diff options
author | Nicolas Pitre <nico@cam.org> | 2008-08-29 16:07:58 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-29 21:51:27 -0700 |
commit | 6ed7f25e95069a900b10f838b15639af3fac05d3 (patch) | |
tree | 2bacf7f2feae60bb110154dbe3cc83fc26f280a0 /pack.h | |
parent | 53d1589ff6bd336e3ece39e0a963a3d2a537cf96 (diff) | |
download | git-6ed7f25e95069a900b10f838b15639af3fac05d3.tar.gz |
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