t1400-update-ref: Add test verifying bug with symrefs in delete_ref()
commit75c96e05cec5654912122cb2435e8c3f928a441d
authorJohan Herland <johan@herland.net>
Sun, 21 Oct 2012 10:40:31 +0000 (21 12:40 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 21 Oct 2012 19:07:58 +0000 (21 12:07 -0700)
treef0e151eb28a90819daabc2d86b65f3ebf43539d5
parent13baa9fe866f63311af5a5ee318beddb16eb5df4
t1400-update-ref: Add test verifying bug with symrefs in delete_ref()

When deleting a ref through a symref (e.g. using 'git update-ref -d HEAD'
to delete refs/heads/master), we currently fail to remove the packed
version of that ref. This testcase demonstrates the bug.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1400-update-ref.sh