Home GnuPG

Fix a check when deciding to destroy the local branch after "arc land"
411a4f4a3917Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Fix a check when deciding to destroy the local branch after "arc land"

Summary: Fixes T9660. The behavior for this check wasn't quite right -- we want to check the "source ref" (what we're landing) against the "target onto" (the branch we're landing it onto).

Test Plan:

  • Landed from master (tracking origin/master). No delete.
  • Landed from feature1 (tracking local/master). Delete.
  • Landed from feature2 (tracking origin/master). Delete.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9660

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

Details

Event Timeline