Homec4science

Diffusion - add verifyGitOrigin check to git fetch operation

Authored by Bob Trahan <btrahan@phacility.com> on Nov 15 2014, 03:02.

Description

Diffusion - add verifyGitOrigin check to git fetch operation

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

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T4946, T5938

Differential Revision: https://secure.phabricator.com/D10855

Details

Committed
Bob Trahan <btrahan@phacility.com>Nov 15 2014, 03:02
Pushed
aubortJan 31 2017, 17:16
Parents
rPH00b245a56679: Set up colspec for differential 1up
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <btrahan@phacility.com> committed rPHd2ea0bc5f0df: Diffusion - add verifyGitOrigin check to git fetch operation (authored by Bob Trahan <btrahan@phacility.com>).Nov 15 2014, 03:02