Code

streaming_write_entry(): support files with holes
authorJunio C Hamano <gitster@pobox.com>
Fri, 13 May 2011 22:55:00 +0000 (15:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 May 2011 06:16:53 +0000 (23:16 -0700)
commitde6182db67d0f53fdc13256042014f2ddf5f8df3
tree177d871672cea8c07f3cc2b6ef30fb8c36b09f08
parentb0d9c69f5ee4a626a779d27a33f5565efccd5802
streaming_write_entry(): support files with holes

One typical use of a large binary file is to hold a sparse on-disk hash
table with a lot of holes. Help preserving the holes with lseek().

Signed-off-by: Junio C Hamano <gitster@pobox.com>
entry.c