test_expect_success 'Check ambiguous head and tag refs' '
test_expect_success 'Check ambiguous head and tag refs (strict)' '
git config --bool core.warnambiguousrefs true &&
git checkout -b newtag &&
echo "Using $datestamp" > one &&
git add one &&
@ -315,12 +316,23 @@ test_expect_success 'Check ambiguous head and tag refs' '
@@ -315,12 +316,23 @@ test_expect_success 'Check ambiguous head and tag refs' '
test_cmp expected actual
'
cat >expected <<\EOF
heads/master
master
EOF
test_expect_success 'Check ambiguous head and tag refs (loose)' '