Split back out update_hook handling in receive-pack
commit1d9e8b56fe3a0360bf61ce633827af8fa9a7013c
authorShawn O. Pearce <spearce@spearce.org>
Sat, 10 Mar 2007 08:28:13 +0000 (10 03:28 -0500)
committerJunio C Hamano <junkio@cox.net>
Mon, 12 Mar 2007 05:49:46 +0000 (11 22:49 -0700)
tree179fca89bbcfce5fdf70059d92ef6f06b79b422e
parent6c319a22e47e6b49d799f5893aeac92e723a5e6f
Split back out update_hook handling in receive-pack

Since we have decided to change the calling conventions for the
pre-receive and post-receive hooks to take the ref data on stdin
rather than on the command line we cannot use the same logic to
invoke the update hook anymore.

So we take a small step backwards towards what we used to have,
and create a specialized function for executing just the update
hook.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
receive-pack.c