mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
a07f444f2a
Summary: Fixes T4041. We currently detect when "origin" is incorrect, but can do better: - When "origin" is missing, we can add it. This happens for Git 1.7.1 -- see T4041. - When "origin" is wrong, we can fix it automatically if we control the repository. We only need to fail when origin exists, is wrong, and we aren't in charge of the repository. Test Plan: Ran `bin/repository discover X` on a repository with a good origin, no origin, a bad-but-under-control origin, and a bad-out-of-control origin. Got the right behavior in all cases. Reviewers: btrahan Reviewed By: btrahan CC: aran, champo Maniphest Tasks: T4041 Differential Revision: https://secure.phabricator.com/D7614 |
||
---|---|---|
.. | ||
__tests__ | ||
PhabricatorRepository.php | ||
PhabricatorRepositoryArcanistProject.php | ||
PhabricatorRepositoryAuditRequest.php | ||
PhabricatorRepositoryBranch.php | ||
PhabricatorRepositoryCommit.php | ||
PhabricatorRepositoryCommitData.php | ||
PhabricatorRepositoryDAO.php | ||
PhabricatorRepositoryShortcut.php | ||
PhabricatorRepositoryStatusMessage.php | ||
PhabricatorRepositorySymbol.php | ||
PhabricatorRepositoryTransaction.php | ||
PhabricatorRepositoryVCSPassword.php |