Re: [PATCH 3/3] clone: always fetch remote HEAD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 03, 2011 at 08:50:41PM -0500, Sverre Rabbelier wrote:

> > Does that make sense? If so, then I think the right fix is for testgit
> > ti ignore all imports after the first one (since the first one will have
> > done all available refs). And the patch is:
> 
> We can do that yes, although it would be even better if we could make
> testgit implement importing only a limited set of branches, as I
> assume that will be common. Nonetheless, this will do for now I think.

Yeah, I think that is a better model for showing people who are trying
to write their own helpers. We just have to read each "import" line,
saving the list of refs; when git disconnects from us, we know there are
no more, and we can start fast-import with the correct arguments.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]