Community
Participate
Working Groups
I have a repo where there is a tag and a local branch with the same name. Checkout on this name, checks out the tag, not the branch. Git console does the following: $ git checkout R0_2M4 warning: refname 'R0_2M4' is ambiguous. Switched to branch 'R0_2M4'
Would checking out the branch with a warning about ambiguity be ok?
Szymon is planning to add support for "fully qualified" ref names (refs/tags/{tag} instead of just {tag}, same thing for branches) on bug 347943. When fixed the problem described here should be no longer an issue.
Setting target to 0.2RC2 to get in line with blocking bug 347943.
Target removed as in the blocking bug.
A two-fold approach should be taken here: 1. With bug 347943 fixed, the checkout command should require full name of a ref ie refs/tags/test or refs/heads/test. 2. In case of an ambiguity ie not sure if you meant branch or tag, the former should be checked out, just like in the console.
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html