summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2007-10-16 21:55:48 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-17 02:54:56 -0400
commit7ba502c47bda21d060844863991083f4c319d436 (patch)
tree200952ea673cdf589e161de938c2012c5351de72 /unpack-trees.c
parentpack-objects: no delta possible with only one object in the list (diff)
downloadtgif-7ba502c47bda21d060844863991083f4c319d436.tar.xz
pack-objects.c: fix some global variable abuse and memory leaks
To keep things well layered, sha1close() now returns the file descriptor when it doesn't close the file. An ugly cast was added to the return of write_idx_file() to avoid a warning. A proper fix will come separately. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'unpack-trees.c')
0 files changed, 0 insertions, 0 deletions