summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-03-07 16:51:09 -0500
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-07 14:45:43 -0800
commitc8dd277109c1cdb9422e474e6bd6e32a382291a0 (patch)
treec05ff5136f9af1a841a002e90a3bb72c361216d1 /entry.c
parentDon't run post-update hook unless a ref changed (diff)
downloadtgif-c8dd277109c1cdb9422e474e6bd6e32a382291a0.tar.xz
Refactor run_update_hook to be more useful
This is a simple refactoring of run_update_hook to allow the function to be passed the name of the hook it runs and also to build the argument list from a list of struct commands, rather than just one struct command. The refactoring is to support new pre-receive and post-receive hooks that will be given the entire list of struct commands, rather than just one struct command. These new hooks will follow in another patch. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'entry.c')
0 files changed, 0 insertions, 0 deletions