diff options
author | Mike Lundy <mike@fluffypenguin.org> | 2019-05-14 16:13:55 -0700 |
---|---|---|
committer | Mike Lundy <mike@fluffypenguin.org> | 2019-05-14 16:41:32 -0700 |
commit | 33f05f3773e1c1e6b4fdde5ee984f6b1935afbfc (patch) | |
tree | dbbf58de086de41ce326264585964bb774aa36d0 /options.go | |
parent | 52fcf7d8a3c2da58769e105a26240e3e697fedeb (diff) | |
download | go-git-33f05f3773e1c1e6b4fdde5ee984f6b1935afbfc.tar.gz |
improve ResolveRevision's Ref lookup path
1) lookups on an annotated tag oid now work
2) there was a lot of complexity around detection of ambiguity, but
unlike git, ambiguous refs are rejected (which causes bugs like
#823). The new code matches rev-parse's behavior (prefer the OID),
though there is no warning path to report the same warning.
Signed-off-by: Mike Lundy <mike@fluffypenguin.org>
Diffstat (limited to 'options.go')
0 files changed, 0 insertions, 0 deletions