From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ME7Ed-0004ML-8M for garchives@archives.gentoo.org; Tue, 09 Jun 2009 19:43:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A3D5E0358; Tue, 9 Jun 2009 19:43:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3B2AEE0358 for ; Tue, 9 Jun 2009 19:43:50 +0000 (UTC) Received: from [192.168.1.110] (unknown [117.192.129.240]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id ADD7F64E6A; Tue, 9 Jun 2009 19:43:48 +0000 (UTC) Subject: [gentoo-scm] New hooks for git, was: Progress summary, 2009/06/01 From: Arun Raghavan To: "Robin H. Johnson" Cc: gentoo-scm@lists.gentoo.org In-Reply-To: <20090601234549.GA3042@orbis-terrarum.net> References: <20090601234549.GA3042@orbis-terrarum.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-EMaDpKNelV3o5qk3ozPv" Date: Wed, 10 Jun 2009 01:12:47 +0530 Message-Id: <1244576567.11371.11.camel@peripatetic.hades> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo SCM discussions X-BeenThere: gentoo-scm@gentoo.org X-BeenThere: gentoo-scm@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 X-Archives-Salt: 2adcf777-cc93-4ea0-8297-d33ec46b8f6d X-Archives-Hash: e8820700489a8be951980233794f8e86 --=-EMaDpKNelV3o5qk3ozPv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2009-06-01 at 16:45 -0700, Robin H. Johnson wrote: > - Finish new hooks for git:=20 > upload-pack.c - get_common_commits: > right before the 'return 0', check for and launch a new hook, > passing > the have/want headers via stdin, and use the return code (AND the > stderr) to see if we should halt. Could you expand on this? Doesn't sound too complex - if I understand this, 'have' is the set of heads of branches that the server has and 'want' is the set of branches that the client figures it needs to update (simplifying a little from [1]). That said, when do we want to terminate the upload? Best, Arun [1] http://git-scm.com/gitserver.txt --=-EMaDpKNelV3o5qk3ozPv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAkouuzcACgkQ+Vqt1inD4uw+DACfRTFP5Pwgf84L2O7V5wVWVfS/ e4QAoJQ2uxenMfRODfSWKF+gcEmEFTbL =K8+E -----END PGP SIGNATURE----- --=-EMaDpKNelV3o5qk3ozPv--