HomePhabricator

Consolidate querying of things which we can use `git for-each-ref` for

Description

Consolidate querying of things which we can use git for-each-ref for

Summary: Ref T2230. This cleans up D7442, by using git for-each-ref everywhere we can, in a basically reasonable way.

Test Plan:
In bare and non-bare repositories:

  • Ran discovery with bin/repository discover;
  • listed branches on /diffusion/X/;
  • listed tags on /diffusion/X/;
  • listed tags, branches and refs on /diffusion/rXnnnn.

Reviewers: btrahan, avivey

Reviewed By: avivey

CC: aran

Maniphest Tasks: T2230

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

Details

Provenance
epriestleyAuthored on Oct 30 2013, 8:06 PM
Reviewer
avivey
Differential Revision
D7447: Consolidate querying of things which we can use `git for-each-ref` for
Parents
rP7360688afb5f: Conditionally restore some "remote/" stuff removed by rP59922b7
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task

Event Timeline