Skip to content
  • Robert Speicher's avatar
    `Ref` objects receive the `canonical_name` from Rugged · 960b5ce6
    Robert Speicher authored and Jacob Vosmaer's avatar Jacob Vosmaer committed
    The `Gitlab::Git::Ref` initializer, which `Branch` inherits, already
    removes the `refs/heads|tags/` prefix from the provided name via
    `Gitlab::Git.ref_name`, so there should be no functional difference to
    providing the "canonical name".
    
    In a future commit, we'll store the canonical name in addition to the
    non-prefixed name.
    960b5ce6