t5600: fix outdated comment about unborn HEAD
authorJeff King <peff@peff.net>
Tue, 2 Jan 2018 21:08:33 +0000 (16:08 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Jan 2018 21:33:02 +0000 (13:33 -0800)
commita4c4efd25159a8b308f9e204bc87e37b963bc2ae
treeba581cfb4022c927c2fc33b48be5ef795a568ef1
parent3013dff8662eae06457fe6e5348dfe2270810ab2
t5600: fix outdated comment about unborn HEAD

Back when this test was written, git-clone could not handle
a repository without any commits. These days it works fine,
and this comment is out of date.

At first glance it seems like we could just drop this code
entirely now, but it's necessary for the final test, which
was added later. That test corrupts the repository by
temporarily removing its objects, which means we need to
have some objects to move.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5600-clone-fail-cleanup.sh