diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-03-07 16:51:09 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-07 14:45:43 -0800 |
commit | c8dd277109c1cdb9422e474e6bd6e32a382291a0 (patch) | |
tree | c05ff5136f9af1a841a002e90a3bb72c361216d1 /t/t0000-basic.sh | |
parent | Don't run post-update hook unless a ref changed (diff) | |
download | tgif-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 't/t0000-basic.sh')
0 files changed, 0 insertions, 0 deletions