Gentoo Archives: gentoo-scm

From: Arun Raghavan <ford_prefect@g.o>
To: "Robin H. Johnson" <robbat2@g.o>
Cc: gentoo-scm@l.g.o
Subject: [gentoo-scm] New hooks for git, was: Progress summary, 2009/06/01
Date: Tue, 09 Jun 2009 19:43:51
Message-Id: 1244576567.11371.11.camel@peripatetic.hades
In Reply to: [gentoo-scm] Progress summary, 2009/06/01 by "Robin H. Johnson"
1 On Mon, 2009-06-01 at 16:45 -0700, Robin H. Johnson wrote:
2 > - Finish new hooks for git:
3 > upload-pack.c - get_common_commits:
4 > right before the 'return 0', check for and launch a new hook,
5 > passing
6 > the have/want headers via stdin, and use the return code (AND the
7 > stderr) to see if we should halt.
8
9 Could you expand on this? Doesn't sound too complex - if I understand
10 this, 'have' is the set of heads of branches that the server has and
11 'want' is the set of branches that the client figures it needs to update
12 (simplifying a little from [1]).
13
14 That said, when do we want to terminate the upload?
15
16 Best,
17 Arun
18
19 [1] http://git-scm.com/gitserver.txt

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-scm] New hooks for git, was: Progress summary, 2009/06/01 "Robin H. Johnson" <robbat2@g.o>