From: Ben Peart Date: Wed, 23 Jan 2019 20:02:00 +0000 (-0500) Subject: checkout: add test demonstrating regression with checkout -b on initial commit X-Git-Tag: v2.21.0-rc0~37^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/91e3d7ca9b0194575c1fdbb82b74bef4eb8357a1?hp=91e3d7ca9b0194575c1fdbb82b74bef4eb8357a1 checkout: add test demonstrating regression with checkout -b on initial commit Commit fa655d8411 (checkout: optimize "git checkout -b ", 2018-08-16) introduced an unintentional change in behavior for 'checkout -b' after doing 'clone --no-checkout'. Add a test to demonstrate the changed behavior to be used in a later patch to verify the fix. Signed-off-by: Ben Peart Signed-off-by: Junio C Hamano ---