hooks: eliminate post-update hook
commitfbfe5dd02996af2141652e5af49d08e845b7a7fe
authorKyle J. McKay <mackyle@gmail.com>
Fri, 24 Apr 2015 01:16:25 +0000 (23 18:16 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 24 Apr 2015 01:16:25 +0000 (23 18:16 -0700)
tree0b9721d958230fc8af6e5ee6625213341d1aa70b
parentc05d873016fcb00ab6d55d99d55c5008f773c2cf
hooks: eliminate post-update hook

The post-receive hook superseded the post-update hook some time
ago and since it receives its arguments on stdin instead of as
command line arguments, it cannot fail due to too many refs being
updated at once (and the command line length limit exceeded).

Move the prior post-update activies into post-receive and get
rid of post-update.

While we are in there we also stop calling `git update-server-info`
since we now set receive.updateserverinfo (v1.6.5.3 or later and
we now require v1.6.6 or later).

We also now always read all the refs even if there's no socket to
send them to so that git does not receive SIGPIPE if there's too
many of them.  The latest versions of Git handle the broken pipe
okay, but we support older versions so we must read all the refs
whether we're planning on doing anything with the info or not.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Project.pm
bin/create-personal-mob-area
hooks/post-receive
hooks/post-update [deleted file]
toolbox/update-all-hooks.sh