On Thu, 2011-07-07 at 16:57 -0700, Darren Hart wrote: > On 07/07/2011 02:16 PM, Richard Purdie wrote: > > On Thu, 2011-07-07 at 13:34 -0700, Flanagan, Elizabeth wrote: > > diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py > > index f3bc793..7954f66 100644 > > --- a/bitbake/lib/bb/fetch2/git.py > > +++ b/bitbake/lib/bb/fetch2/git.py > > @@ -170,7 +170,7 @@ class Git(FetchMethod): > > > > # If the repo still doesn't exist, fallback to cloning it > > if not os.path.exists(ud.clonedir): > > - clone_cmd = "%s clone --bare %s://%s%s%s %s" % \ > > + clone_cmd = "%s clone --bare --mirror %s://%s%s%s %s" % \ > > > --mirror implies --bare, so: > - clone_cmd = "%s clone --bare %s://%s%s%s %s" % \ > + clone_cmd = "%s clone --mirror %s://%s%s%s %s" % \ > > should be adequate.
Right, I left it in as it makes it clearer to anyone looking at the command that we're really sure we want a bare clone... Cheers, Richard _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto