Home GnuPG

Pull git upstream-path logic into a separate class
2a2fd6e338b7Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Pull git upstream-path logic into a separate class

Summary:
Ref T9661. I need to reuse this to fix the complex workflow described in T9661 where we need to follow multiple paths to the upstream and cascade updates across them.

Pull the logic into a separate class to make this easier and less copy/pastey.

This shouldn't change any behavior.

Test Plan: Ran arc land --preview from detached head, remote-tracking branch, non-tracking branch, local-tracking branch. Selection of target/remote seemed correct in all cases.

Reviewers: chad

Reviewed By: chad

Subscribers: edibiase

Maniphest Tasks: T9661

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

Details

Provenance
epriestley <git@epriestley.com>Authored on Oct 28 2015, 7:30 PM
Parents
rARC411a4f4a3917: Fix a check when deciding to destroy the local branch after "arc land"
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rARC2a2fd6e338b7: Pull git upstream-path logic into a separate class (authored by epriestley <git@epriestley.com>).Oct 28 2015, 9:19 PM