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
F13149216: D10855.diff
Sat, May 4, 7:10 AM
Unknown Object (File)
Fri, May 3, 3:58 AM
Unknown Object (File)
Mon, Apr 29, 4:07 PM
Unknown Object (File)
Mon, Apr 29, 3:05 AM
Unknown Object (File)
Fri, Apr 26, 4:27 PM
Unknown Object (File)
Wed, Apr 24, 11:55 PM
Unknown Object (File)
Tue, Apr 16, 9:20 AM
Unknown Object (File)
Fri, Apr 12, 1:05 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
Branch
T5938
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3056
Build 3062: [Placeholder Plan] Wait for 30 Seconds

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.