On Sat, 26 Sep 2009, Shawn O. Pearce wrote: > Nicolas Pitre <nico@xxxxxxxxxxx> wrote: > > Current behavior of 'git clone' when not using --mirror is to fetch > > everything from the peer, and then filter out unwanted refs just before > > writing them out to the cloned repository. This may become highly > > inefficient if the peer has an unusual ref namespace, or if it simply > > has "remotes" refs of its own, and those locally unwanted refs are > > connecting to a large set of objects which becomes unreferenced as soon > > as they are fetched. > ... > > +static void write_remote_refs(const struct ref *local_refs, const char *reflog) > > Here reflog is now unused. I'm going to squash this in. Yeah, I noticed. Since I didn't know what was the original intent for it, I just left it there. Nicolas -- 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