author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 10 Mar 2007 08:28:13 +0000 (03:28 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 12 Mar 2007 05:49:46 +0000 (22:49 -0700) | ||
commit | 1d9e8b56fe3a0360bf61ce633827af8fa9a7013c | |
tree | 179fca89bbcfce5fdf70059d92ef6f06b79b422e | tree | snapshot |
parent | 6c319a22e47e6b49d799f5893aeac92e723a5e6f | commit | diff |
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>
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 | diff | blob | history |