summaryrefslogtreecommitdiff
path: root/builtin-ls-tree.c
diff options
context:
space:
mode:
authorMark Levedahl <mdl123@verizon.net>2007-08-10 20:39:24 -0400
committerJunio C Hamano <gitster@pobox.com>2007-08-10 22:33:44 -0700
commit21a02980f9025c3a338fb897796542ddef8707d1 (patch)
treed27f3e72dca0076d0901c4a05ebfbbfb721c00ce /builtin-ls-tree.c
parent442b67a55972e69a054eb1206bbbdf044532130a (diff)
downloadgit-21a02980f9025c3a338fb897796542ddef8707d1.tar.gz
builtin-bundle - use buffered reads for bundle header
This eliminates all use of byte-at-a-time reading of data in this function: as Junio noted, a bundle file is seekable so we can reset the file position to the first part of the pack-file using lseek after reading the header. Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-ls-tree.c')
0 files changed, 0 insertions, 0 deletions