From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Pitre Subject: Re: Performance issue: initial git clone causes massive repack Date: Wed, 22 Apr 2009 23:16:20 -0400 (EDT) Message-ID: References: <20090407142147.GA4413@atjola.homenet> <20090407181259.GB4413@atjola.homenet> <20090407202725.GC4413@atjola.homenet> <20090410T203405Z@curie.orbis-terrarum.net> <20090414T202206Z@curie.orbis-terrarum.net> <1240362948.22240.76.camel@maia.lan> <49EF93CA.20207@vilain.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: Sam Vilain , "Robin H. Johnson" , Git Mailing List , Nick Edelen To: Johannes Schindelin X-From: git-owner@vger.kernel.org Thu Apr 23 05:21:02 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1LwpUj-0002mo-As for gcvg-git-2@gmane.org; Thu, 23 Apr 2009 05:21:01 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752649AbZDWDQm (ORCPT ); Wed, 22 Apr 2009 23:16:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752289AbZDWDQm (ORCPT ); Wed, 22 Apr 2009 23:16:42 -0400 Received: from relais.videotron.ca ([24.201.245.36]:37450 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752081AbZDWDQm (ORCPT ); Wed, 22 Apr 2009 23:16:42 -0400 Received: from xanadu.home ([66.131.194.97]) by VL-MO-MR004.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KIJ005IMAF86G20@VL-MO-MR004.ip.videotron.ca> for git@vger.kernel.org; Wed, 22 Apr 2009 23:16:20 -0400 (EDT) X-X-Sender: nico@xanadu.home In-reply-to: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, 23 Apr 2009, Johannes Schindelin wrote: > Hi, > > On Wed, 22 Apr 2009, Nicolas Pitre wrote: > > > On Thu, 23 Apr 2009, Sam Vilain wrote: > > > > > Perhaps you can first help out by telling me what you have to say > > > about moving object enumeration from upload-pack to pack-objects? > > > > It is like a 25-line patch or so. I did it once, although the shalow > > clone support was missing from it. And somehow I managed to lose the > > patch while doing some reshuffling of unrelated bigger changes. > > > > Basically, you can pass the revision arguments to pack-objects directly > > instead of passing them to rev-list and piping rev-list's output to > > pack-objects. > > I seem to remember that somebody sent a patch within the last two weeks > implementing that, and if my memory does not fail me, in response to one > of your mails mentioning this wish. Well, if so I wasn't CC'd on the post, and my periodic scan of the git list missed it as well. Nicolas