Regression? Ambiguous tags listed as "tags/<foo>"
- From
- Pete Harlan <pgit@tento.net>
- Date
- Jan 23, 2016, 23:56 UTC
- Message-ID
- <CAAB=nN=RSQuDPdg6Y2heeBXpQVdWSwFAcDDTfxE=XRSOu5gGEg@mail.gmail.com>
There was a behavior change in "git tag" in b7cc53e9 (tag.c: use 'ref-filter' APIs, 2015-07-11, v2.5.0-276-gb7cc53e), such that "git tag" now writes "foo" as "tags/foo" if there is also a branch named "foo":
% git tag
tags/branchortag
tagonlyPrevious behavior:
% git tag
branchortag
tagonlyI prefer the previous behavior. Perhaps the change was intentional, but I didn't see it documented.
Thanks,
Pete Harlan pgit@tento.net