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 |