HomePhorge

Improve ref resolution for Git branches and tags

Description

Improve ref resolution for Git branches and tags

Summary:
Fixes T7982.

  • When resolving branches, make sure they get type 'branch'.
  • Correctly resolve refs when a repository has a branch and tag with the same name.

Test Plan: Disabled ref cache and resolved refs in a Git repository with a 'master' tag and a 'master' branch. Saw refs resolve accurately.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7982

Differential Revision: https://secure.phabricator.com/D12609

Details

Provenance
epriestleyAuthored on Apr 29 2015, 1:21 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP99392eab5d87: Conpherence - fix durable column bug where scrolling broke over embedded mock
Branches
Unknown
Tags
Unknown

Event Timeline