summaryrefslogtreecommitdiff
path: root/git-merge-ours.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-03-07 21:51:09 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-07 22:45:43 (GMT)
commitc8dd277109c1cdb9422e474e6bd6e32a382291a0 (patch)
treec05ff5136f9af1a841a002e90a3bb72c361216d1 /git-merge-ours.sh
parent3e6e152c7496c1acd298ec2b916d62acb56f11c0 (diff)
downloadgit-c8dd277109c1cdb9422e474e6bd6e32a382291a0.zip
git-c8dd277109c1cdb9422e474e6bd6e32a382291a0.tar.gz
git-c8dd277109c1cdb9422e474e6bd6e32a382291a0.tar.bz2
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 'git-merge-ours.sh')
0 files changed, 0 insertions, 0 deletions