Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

improve ResolveRevision's Ref lookup path#1146

Merged
mcuadros merged 1 commit intosrc-d:masterfrom
novas0x2a:fix-tag-oid
May 15, 2019
Merged

improve ResolveRevision's Ref lookup path#1146
mcuadros merged 1 commit intosrc-d:masterfrom
novas0x2a:fix-tag-oid

Conversation

@novas0x2a
Copy link
Copy Markdown
Contributor

  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
    ResolveRevision doesn't resolve ambigious revs #823). The new code matches rev-parse's behavior (prefer the OID),
    though there is no warning path to report the same warning.

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
   src-d#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 <[email protected]>
@mcuadros mcuadros merged commit 24de5ef into src-d:master May 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants