t3033: avoid 'ambiguous refs' warning

Because "test_commit five" creates a commit and point it with a tag
'five', doing so on a branch whose name is 'five' will later result
in an 'ambiguous refs' warning.  Even though it is harmless because
all the later references are for the tag, there is no reason for the
branch to be called 'five'.  Give it a name that describes its
purpose more clearly, i.e. "newroot".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2016-04-21 11:52:33 -07:00
parent e379fdf34f
commit de22496214

View file

@ -19,7 +19,7 @@ test_expect_success setup '
test_commit three &&
git checkout right &&
test_commit four &&
git checkout --orphan five &&
git checkout --orphan newroot &&
test_commit five &&
git checkout master
'