From: Junio C Hamano Date: Fri, 15 Apr 2011 17:46:28 GMT Subject: Re: capturing the packfile from git-upload-pack Message-ID: <7vy63bcsqz.fsf@alter.siamese.dyndns.org> In-Reply-To: Shawn Pearce writes: > 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. :-) If you are running 1.7.5-rc0 or newer, GIT_TRACE_PACKET may also be of help.