Re: git-fetch per-repository speed issues
- From
Jeff King <peff@peff.net>
- Date
- Jul 5, 2006, 06:47 UTC
- Message-ID
- <20060705064749.GA3617@segfault.peff.net>
- In-Reply-To
- <Pine.LNX.4.64.0607032007290.12404@g5.osdl.org>
On Mon, Jul 03, 2006 at 08:07:49PM -0700, Linus Torvalds wrote:
> > Fetching by ssh actually makes two ssh connections (the second is to > > grab tags). > True. Although that should happen only if there are any new tags.
Either you're wrong or there's a bug in git-fetch.
I think you're missing the call to git-ls-remote --tags to get the list of tags (which we will then auto-follow if necessary). So in that case, there would actually be 3 ssh connections. If everything is up to date, we still make 2 connections (one to check refs from remotes file, and one to check remote tag list).
-Peff