Merge branch 'jk/read-packed-refs-without-path-max'
commitaa9066fccd4a4320ab3e90f566527b7497d2c7c0
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:28:04 +0000 (22 12:28 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:28:04 +0000 (22 12:28 -0800)
tree8d07bec90911a26b809038e1f5994cb7c5ce70e8
parent8ada1d8e9c71eeebaf6af3adc664a17479f2c2e8
parentea417833ea9a07d7b8d568358ff20f57851cb26e
Merge branch 'jk/read-packed-refs-without-path-max'

Git did not correctly read an overlong refname from a packed refs
file.

* jk/read-packed-refs-without-path-max:
  read_packed_refs: use skip_prefix instead of static array
  read_packed_refs: pass strbuf to parse_ref_line
  read_packed_refs: use a strbuf for reading lines
refs.c