← Back to team overview

dulwich-users team mailing list archive

Re: Fetch branch

 

On Mon, Sep 17, 2012 at 09:18:05AM -0700, Mark Mikofski wrote:
> I thought that fetch and clone would pull all branches, but it only seems to pull ref/heads/master. How could I fetch all refs without knowing their shas a priori? Do I need a custom graphwalker?
They take a determine_wants() function that can determine what objects
to fetch, and both return the full list of remote refs that you can
use to update the local refs.

Cheers,

Jelmer


References