From e117c36fa22f2d59ae034745b992ebd669fe11ba Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 6 Jul 2014 12:25:43 +0100 Subject: rcm: Add hook to ensure submodules are correct --- hooks/pre-up/submodules | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 hooks/pre-up/submodules (limited to 'hooks/pre-up') diff --git a/hooks/pre-up/submodules b/hooks/pre-up/submodules new file mode 100755 index 0000000..ae4f42f --- /dev/null +++ b/hooks/pre-up/submodules @@ -0,0 +1,5 @@ +#!/usr/bin/env zsh +echo $0:h:h:h +pushd $0:h:h:h +git submodule update --init +popd \ No newline at end of file -- cgit 1.4.1