author | Jeff King <peff@peff.net> | |
Sun, 20 Mar 2011 09:04:16 +0000 (05:04 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 20 Mar 2011 20:32:44 +0000 (13:32 -0700) | ||
commit | 493dd6ed5b46659d7e20aaef00f97e279ce1c4cb | |
tree | 63a0e865f31c578d76fcc9b12884100dae5d8c3d | tree | snapshot |
parent | a91df69cbb5ced7837525106ff57ff349180770b | commit | diff |
checkout: add basic tests for detached-orphan warning
Commit 8e2dc6ac added a warning when we leave a detached
HEAD whose commit is not reachable from any ref tip. Let's
add a few basic tests to make sure it works.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commit 8e2dc6ac added a warning when we leave a detached
HEAD whose commit is not reachable from any ref tip. Let's
add a few basic tests to make sure it works.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2020-checkout-detach.sh | diff | blob | history |