Community
Participate
Working Groups
Trying to list tags in an Orion repo[1] with ListTagCommand results in the following exception: "org.eclipse.jgit.errors.IncorrectObjectTypeException: Object b39a1cc1bccaefb30fc1a128db207aec5b9dfa3e is not a tag." The said object is a commit indeed, but in the packed-refs file there are 3 tags pointing to it too. [1] http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/, http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/
Comment 0 as a failing test case > http://egit.eclipse.org/r/4346.
The TagCommand and ListTagCommand assumes all tags are RevTags. This is wrong. How devastating would breaking the API to correct the flaw be? We could return either String or Ref.
(In reply to comment #2) > We could return either String or Ref. Fine with me, but I guess a single +1 from a non-committer is not enough.
(In reply to comment #2) > How devastating would breaking the API to correct the flaw be? It would be very difficult to say. Should probably solicit community input through the forums and the mailing lists.
For the record, this is being fixed by Robin under http://egit.eclipse.org/r/4726
Ping. If it's going to be an API breakage, which I guess is fine for 2.0, I would release it sooner rather than later.
https://git.eclipse.org/r/#/c/4726 has been abandoned, does it mean this bug is a WONTFIX? I'm not sure what Robin had in mind saying "Moved to master".
(In reply to comment #7) > https://git.eclipse.org/r/#/c/4726 has been abandoned, does it mean this bug is > a WONTFIX? I'm not sure what Robin had in mind saying "Moved to master". No. I meant that I re-posted the patch to be merged to master instead of stable-1.3. It's not merged yet, mainly because of a disagreemant on what type to use, Ref or somehing else.
https://git.eclipse.org/r/#/c/5302/ is merged