From: Linus Torvalds Date: Wed, 07 Mar 2007 23:31:56 GMT Subject: Re: [PATCH 5/5] Teach receive-pack to run pre-receive/post-receive hooks Message-ID: In-Reply-To: <20070307215205.GE28649@spearce.org> On Wed, 7 Mar 2007, Shawn O. Pearce wrote: > > To help this situation I am introducing two new hooks to the > receive-pack flow: pre-receive and post-receive. These new hooks > are invoked only once per receive-pack execution and are passed > three arguments per ref (refname, old-sha1, new-sha1). Can you give a concise explanation of how "pre-receive" differ from the old "update", and how does "post-receive" differ from the old "post-update"? Linus