diff --git a/t/t3203-branch-output.sh b/t/t3203-branch-output.sh index f51d0f3ca..bf24dbf83 100755 --- a/t/t3203-branch-output.sh +++ b/t/t3203-branch-output.sh @@ -106,6 +106,19 @@ EOF test_i18ncmp expect actual ' +test_expect_failure 'git branch shows detached HEAD properly after checkout --detach' ' + git checkout master && + cat >expect <actual && + test_i18ncmp expect actual +' + test_expect_success 'git branch shows detached HEAD properly after moving' ' cat >expect <