t3210: add some tests of bogus packed-refs file contents
authorMichael Haggerty <mhagger@alum.mit.edu>
Sat, 1 Jul 2017 18:31:07 +0000 (20:31 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Jul 2017 17:01:57 +0000 (10:01 -0700)
commit02a1a42056bd2e34f872d61e2ec7aa00dd43422b
tree7fdc493d61e15d3fbb68749642ef1835af3d1085
parente5cc7d7d2bf2fbb3dfba81fe0c0c2981607fbc84
t3210: add some tests of bogus packed-refs file contents

If `packed-refs` contains indecipherable lines, we should emit an
error and quit rather than just skipping the lines. Unfortunately, we
currently do the latter. Add some failing tests demonstrating the
problem.

This will be fixed in the next commit.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3210-pack-refs.sh