checkout --orphan: respect -l option always
authorErick Mattos <erick.mattos@gmail.com>
Sat, 22 May 2010 00:28:37 +0000 (21:28 -0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Jun 2010 21:46:14 +0000 (14:46 -0700)
commit3631bf77f75bc34e810216f3ec6abc8203e2d16a
treeaf615038fc5de632a43ae8e3d51efb2ca50fa984
parent859c30175f7d8f64f61968cb3ece7aca9218b314
checkout --orphan: respect -l option always

Added changes to satisfy a corner case: creating reflogs by using -l
when core.logAllRefUpdates is set to false.

Signed-off-by: Erick Mattos <erick.mattos@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
t/t2017-checkout-orphan.sh