checkout: do not corrupt HEAD on empty repo
authorErik Faye-Lund <kusmabite@gmail.com>
Tue, 8 May 2012 17:22:33 +0000 (19:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 May 2012 17:36:55 +0000 (10:36 -0700)
commit8338f77...fe9720766dfcb25b6dca58832e24a0fd
tree6bb1594...45fffde796364ee577ff34cf548fee17copy hash to clipboard (tree)
parentabe1998...8c6586047fb7255b80e3d17ffc26bf6ccopy hash to clipboard (diff)
builtin/checkout.c
t/t2015-checkout-unborn.sh