1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-14 15:58:39 +01:00
phorge-phorge/src/applications/diffusion/request
epriestley 28d0094856 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
2015-04-29 13:21:12 -07:00
..
__tests__ Delete license headers from files 2012-11-05 11:16:51 -08:00
DiffusionGitRequest.php Improve ref resolution for Git branches and tags 2015-04-29 13:21:12 -07:00
DiffusionMercurialRequest.php Show a better message for empty repositories and invalid branches 2014-07-12 07:05:19 -07:00
DiffusionRequest.php Improve ref resolution for Git branches and tags 2015-04-29 13:21:12 -07:00
DiffusionSvnRequest.php Show a better message for empty repositories and invalid branches 2014-07-12 07:05:19 -07:00