Homec4science

Improve ref resolution for Git branches and tags

Authored by epriestley <git@epriestley.com> on Apr 29 2015, 22:21.

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

Committed
epriestley <git@epriestley.com>Apr 29 2015, 22:21
Pushed
aubortJan 31 2017, 17:16
Parents
rPH99392eab5d87: Conpherence - fix durable column bug where scrolling broke over embedded mock
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH28d00948568d: Improve ref resolution for Git branches and tags (authored by epriestley <git@epriestley.com>).Apr 29 2015, 22:21