t2020-checkout-detach: check for the number of orphaned commits
authorJohannes Sixt <redacted>
Fri, 4 May 2012 18:13:14 +0000 (20:13 +0200)
committerJunio C Hamano <redacted>
Fri, 4 May 2012 19:42:25 +0000 (12:42 -0700)
commitf94920993a0a1ba7916618e2ab458d5d4fb21e94
tree0d0bff390e76b89ad2b57c568066b0b83d8ecf11
parente8dde3e5f9ddb7cf95a6ff3cea6cf07c3a2db80d
t2020-checkout-detach: check for the number of orphaned commits

Change the test that orphans commits to leave 2 commits behind. Add a test
that leaves only one of these behind.

The next patch will truncate the list of orphaned commits earlier. With
this preliminary update, its effect will become more obvious.

Signed-off-by: Johannes Sixt <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t2020-checkout-detach.sh
git clone https://git.99rst.org/PROJECT