From: Junio C Hamano Date: Mon, 14 May 2012 18:42:22 +0000 (-0700) Subject: Merge branch 'js/checkout-detach-count' into maint X-Git-Tag: v1.7.10.3~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a912913e864ea67f4544d3fb4d52e20bd3a6075e;p=git.git Merge branch 'js/checkout-detach-count' into maint When checking out another commit from an already detached state, we used to report all commits that are not reachable from any of the refs as lossage, but some of them might be reachable from the new HEAD, and there is no need to warn about them. By Johannes Sixt * js/checkout-detach-count: checkout (detached): truncate list of orphaned commits at the new HEAD t2020-checkout-detach: check for the number of orphaned commits --- a912913e864ea67f4544d3fb4d52e20bd3a6075e