Homec4science

Fix various branch/ref issues with bare repositories in Git

Authored by epriestley <git@epriestley.com> on Oct 30 2013, 05:04.

Description

Fix various branch/ref issues with bare repositories in Git

Summary:
Ref T2230. Although all the non-bare commands run fine in bare repos, not all of them do exactly the same thing.

This could use further cleanup, but at least get it working again for now.

Test Plan: Ran bin/repository pull, bin/repository discover, viewed Diffusion (looked at branch table), viewed a commit (looked at "Branches"), for bare and non-bare git repos.

Reviewers: avive, btrahan, avivey

Reviewed By: avivey

CC: aran

Maniphest Tasks: T2230

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

Details

Committed
epriestley <git@epriestley.com>Oct 30 2013, 05:04
Pushed
aubortJan 31 2017, 17:16
Parents
rPHcdcfbb69a031: CSS Tweaks to reviewers status list
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH19124554d8b9: Fix various branch/ref issues with bare repositories in Git (authored by epriestley <git@epriestley.com>).Oct 30 2013, 05:04