mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
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:
parent
e379fdf34f
commit
de22496214
|
@ -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
|
||||
'
|
||||
|
|
Loading…
Reference in a new issue