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

improve ResolveRevision's Ref lookup path #1146

Merged
merged 1 commit into from
May 15, 2019

Conversation

novas0x2a
Copy link
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 <mike@fluffypenguin.org>
@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