t1408: add a test of stale packed refs covered by loose refs
authorJunio C Hamano <gitster@pobox.com>
Fri, 23 Jun 2017 07:01:19 +0000 (09:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Jun 2017 20:27:32 +0000 (13:27 -0700)
commit74195c69adb922b32a93d5885004337c892e9bc3
treedbbb3abfdadf60c862a5f3e0daaadfc6e147c897
parent03df567fbf6afeca32f6a27d04656c1a3a162453
t1408: add a test of stale packed refs covered by loose refs

It is OK for the packed-refs file to contain old reference definitions
that might even refer to objects that have since been
garbage-collected, as long as there is a corresponding loose reference
definition that overrides it. Add a test that such references don't
cause problems.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1408-packed-refs.sh [new file with mode: 0755]