HomeSoftware Heritage

porcelain: add clone(branch=...) option

Description

porcelain: add clone(branch=...) option

  • equivalent to 'git clone --branch' for checking out specific branch or tag name after clone
  • porcelain.clone now uses the remote's default branch name if it differs from dulwich DEFAULT_REF

Details

Provenance
Peter Rowlands <peter@pmrowla.com>Authored on Mar 15 2021, 10:13 AM
ardumontPushed on Feb 11 2022, 10:46 AM
Parents
rPPDW80164922e7c7: porcelain: use LOCAL_TAG_PREFIX in _make_tag_ref()
Branches
Unknown
Tags
Unknown

Event Timeline

Peter Rowlands <peter@pmrowla.com> committed rPPDW5e193cc92b03: porcelain: add clone(branch=...) option (authored by Peter Rowlands <peter@pmrowla.com>).Jan 4 2022, 7:17 AM