From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Pearce Subject: Re: capturing the packfile from git-upload-pack Date: Fri, 15 Apr 2011 11:46:44 -0400 Message-ID: References: <1302837720729-6275146.post@n2.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: git@vger.kernel.org To: madmarcos X-From: git-owner@vger.kernel.org Fri Apr 15 17:47:16 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QAlEq-0002dN-6M for gcvg-git-2@lo.gmane.org; Fri, 15 Apr 2011 17:47:16 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752953Ab1DOPrI (ORCPT ); Fri, 15 Apr 2011 11:47:08 -0400 Received: from mail-vx0-f174.google.com ([209.85.220.174]:49929 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752251Ab1DOPrF (ORCPT ); Fri, 15 Apr 2011 11:47:05 -0400 Received: by vxi39 with SMTP id 39so2165469vxi.19 for ; Fri, 15 Apr 2011 08:47:04 -0700 (PDT) Received: by 10.52.178.164 with SMTP id cz4mr3227183vdc.42.1302882424053; Fri, 15 Apr 2011 08:47:04 -0700 (PDT) Received: by 10.52.164.97 with HTTP; Fri, 15 Apr 2011 08:46:44 -0700 (PDT) In-Reply-To: <1302837720729-6275146.post@n2.nabble.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, Apr 14, 2011 at 23:22, madmarcos wrote: > is there a git command that can capture in a separate file the packfile that > is generated and transmitted from a "want"ed branch during the > git-upload-pack command? I need a good sample to study. No. But you can create an input file yourself, the pkt-line format is pretty simple. Pipe the input to git-upload-pack, and it will spit back the response. :-) -- Shawn.