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
F15558071: D10855.id26062.diff
Tue, Apr 29, 12:52 AM
F15526198: D10855.id26063.diff
Mon, Apr 21, 7:55 PM
F15525665: D10855.id26062.diff
Mon, Apr 21, 3:58 PM
F15521145: D10855.diff
Sun, Apr 20, 11:37 AM
F15504577: D10855.diff
Mon, Apr 14, 7:02 PM
F15486200: D10855.diff
Thu, Apr 10, 5:35 AM
F15423364: D10855.id.diff
Mar 22 2025, 3:10 PM
F15421324: D10855.id26063.diff
Mar 21 2025, 10:39 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.