]> git.ipfire.org Git - thirdparty/git.git/commit - refs/packed-backend.c
read_packed_refs(): only check for a header at the top of the file
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 13 Sep 2017 17:16:00 +0000 (19:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Sep 2017 06:19:07 +0000 (15:19 +0900)
commit36f23534aef58f747048ffea5addb0367406896d
tree613feeb61c68c7b39f219747e9cccbffbab059e5
parent49a03ef46667ad5074f1e602e392b7763c686205
read_packed_refs(): only check for a header at the top of the file

This tightens up the parsing a bit; previously, stray header-looking
lines would have been processed.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/packed-backend.c