Tests 15 and 16 in script "t5516-fetch-push.sh" fails with "notice: HEAD points to an unborn branch (master)". Is this just bad tests or an actual failure? This is with current master (45fd8bd32dd68ce6b14a406d0abbd6f56490131c) on OS X.
Detailed test results follow.
~~ Brian
----- 8< -----
* expecting success:
mk_test &&
if git show-ref --verify -q refs/tags/frotz
then
git tag -d frotz
fi &&
git branch -f frotz master &&
git push testrepo frotz &&
check_push_result $the_commit heads/frotz &&
test "$( cd testrepo && git show-ref | wc -l )" = 1Initialized empty Git repository in .git/ notice: HEAD points to an unborn branch (master) notice: No default references Deleted tag frotz. updating 'refs/heads/frotz' from 0000000000000000000000000000000000000000 to 9ad36e1e54b2130a20d55abb4f0f3ca8494ead3f Generating pack... Done counting 5 objects. Deltifying 5 objects... 100% (5/5) done Writing 5 objects... 100% (5/5) done Total 5 (delta 0), reused 0 (delta 0) Unpacking 5 objects... 100% (5/5) done refs/heads/frotz: 0000000000000000000000000000000000000000 -> 9ad36e1e54b2130a20d55abb4f0f3ca8494ead3f notice: HEAD points to an unborn branch (master) * FAIL 15: push with colon-less refspec (3)
mk_test &&
if git show-ref --verify -q refs/tags/frotz
then
git tag -d frotz
fi &&
git branch -f frotz master &&
git push testrepo frotz &&
check_push_result $the_commit heads/frotz &&
test "$( cd testrepo && git show-ref | wc -l )" = 1* expecting success:
mk_test &&
if git show-ref --verify -q refs/heads/frotz
then
git branch -D frotz
fi &&
git tag -f frotz &&
git push testrepo frotz &&
check_push_result $the_commit tags/frotz &&
test "$( cd testrepo && git show-ref | wc -l )" = 1Initialized empty Git repository in .git/ notice: HEAD points to an unborn branch (master) notice: No default references Deleted branch frotz. updating 'refs/tags/frotz' from 0000000000000000000000000000000000000000 to 9ad36e1e54b2130a20d55abb4f0f3ca8494ead3f Generating pack... Done counting 5 objects. Deltifying 5 objects... 100% (5/5) done Writing 5 objects... 100% (5/5) done Total 5 (delta 0), reused 0 (delta 0) Unpacking 5 objects... 100% (5/5) done refs/tags/frotz: 0000000000000000000000000000000000000000 -> 9ad36e1e54b2130a20d55abb4f0f3ca8494ead3f notice: HEAD points to an unborn branch (master) * FAIL 16: push with colon-less refspec (4)
mk_test &&
if git show-ref --verify -q refs/heads/frotz
then
git branch -D frotz
fi &&
git tag -f frotz &&
git push testrepo frotz &&
check_push_result $the_commit tags/frotz &&
test "$( cd testrepo && git show-ref | wc -l )" = 1* failed 2 among 16 test(s)