clone: add test for push on an empty clone.
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Mon, 20 Apr 2009 11:09:37 +0000 (13:09 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2009 20:53:03 +0000 (13:53 -0700)
commita162e78df082d4f885bda2e51067d9788a7f65e4
treeee799396b112a96dc2c47929c068a630ee329d02
parent34779c535c4e121414197ab08b4b502a22a75433
clone: add test for push on an empty clone.

Commit 55f0566 (get_local_heads(): do not return random pointer if
there is no head, 2009-04-17) fixed a segfault for git push, this
patch adds a test-case to avoid future regressions.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5701-clone-local.sh