Test possible tag vs branch issues
Many Gitaly operations on branches, like for example UserCreateBranch
and UserDeleteBranch
, accept an argument that could start with 'refs/heads/' for example 'refs/heads/foo', but could also not start with 'refs/heads/' for example 'foo'.
In the latter case, we should have tests that ensure that the operations work well when 'refs/tags/foo' already exists.
In the same way operations on tags, like for example UserCreateTag
and UserDeleteTag
, should have tests checking what happens when 'foo' is passed as an argument while 'refs/heads/foo' already exits.