Fixes T4946. Theoretically.
Details
Details
- Reviewers
epriestley - Maniphest Tasks
- T4946: Git checks for missing origin in 1.7.1 happen too late in the update process
T5938: Unable to setup a clone of private git repo hosted on GitHub - Commits
- Restricted Diffusion Commit
rPd2ea0bc5f0df: Diffusion - add verifyGitOrigin check to git fetch operation
also unit tests.
also
cd /var/repo/X git remote remove origin # simulates origin-missing clone under 1.7.1 cd /path/to/phabricator ./bin/repository pull X
and observed no errors
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
You can probably test by running:
cd /var/repo/X git remote remove origin # simulates origin-missing clone under 1.7.1 cd /path/to/phabricator ./bin/repository pull X