Files
git/Documentation
Shawn O. Pearce f43cd49fb8 Change {pre,post}-receive hooks to use stdin
Sergey Vlasov, Andy Parkins and Alex Riesen all pointed out that it
is possible for a single invocation of receive-pack to be given more
refs than the OS might allow us to pass as command line parameters
to a single hook invocation.

We don't want to break these up into multiple invocations (like
xargs might do) as that makes it impossible for the pre-receive
hook to verify multiple related ref updates occur at the same time,
and it makes it harder for post-receive to send out a single batch
notification.

Instead we pass the reference data on a pipe connected to the
hook's stdin, supplying one ref per line to the hook.  This way a
single hook invocation can obtain an infinite amount of ref data,
without bumping into any operating system limits.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2007-03-11 22:56:03 -07:00
..
2007-02-12 19:33:03 -08:00
2007-01-20 19:10:26 -08:00
2006-12-13 09:41:18 -08:00
2007-02-28 14:38:36 -08:00
2007-03-04 17:31:09 -08:00
2007-02-17 16:16:48 -08:00
2007-02-12 19:33:03 -08:00
2007-02-03 21:49:54 -08:00
2007-02-12 19:33:03 -08:00
2007-03-01 03:27:36 -08:00
2006-06-07 11:49:35 -07:00
2007-03-10 22:07:26 -08:00
2007-03-10 23:38:18 -08:00
2007-01-11 12:58:10 -08:00
2007-02-08 15:35:24 -08:00
2007-02-28 14:18:57 -08:00
2007-02-13 19:20:06 -08:00
2007-02-03 21:49:54 -08:00
2007-02-03 21:49:54 -08:00
2006-06-24 01:11:19 -07:00
2007-02-18 16:18:43 -08:00
2007-02-26 00:26:06 -08:00
2007-03-04 17:20:38 -08:00
2007-03-04 22:49:10 -08:00
2007-03-10 22:07:26 -08:00