HomeSoftware Heritage

Reuse remote ref construction logic from clone

Description

Reuse remote ref construction logic from clone

Move the fetch logic from porcelain.clone into porcelain.fetch to
fix issues with creating refs for the remote in porcelain.fetch, and
just let porcelain.clone call porcelain.fetch for this action to
avoid code duplication.

This should mend the failing tests added in the parent commit.

Details

Provenance
Daniel Andersson <dandersson@users.noreply.github.com>Authored on May 4 2018, 11:35 AM
ardumontPushed on Sep 27 2021, 5:34 PM
Parents
rPPDW055b1503723c: Add failing test cases for bad fetch
Branches
Unknown
Tags
Unknown

Event Timeline