Page MenuHomePhabricator

Diffusion - add verifyGitOrigin check to git fetch operation
ClosedPublic

Authored by btrahan on Nov 15 2014, 1:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 6, 10:40 PM
Unknown Object (File)
Jun 7 2026, 7:24 AM
Unknown Object (File)
Mar 15 2026, 4:54 PM
Unknown Object (File)
Mar 4 2026, 11:33 PM
Unknown Object (File)
Feb 5 2026, 2:46 PM
Unknown Object (File)
Jan 11 2026, 3:51 AM
Unknown Object (File)
Nov 9 2025, 1:20 PM
Unknown Object (File)
Nov 9 2025, 12:35 PM
Subscribers

Details

Summary

Fixes T4946. Theoretically.

Test Plan

iiam

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Diffusion - add verifyGitOrigin check to git fetch operation.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.

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
This revision is now accepted and ready to land.Nov 15 2014, 1:23 AM
btrahan edited edge metadata.
This revision was automatically updated to reflect the committed changes.