all repos — nixfiles @ e117c36fa22f2d59ae034745b992ebd669fe11ba

System and user configuration, managed by nix and home-manager

rcm: Add hook to ensure submodules are correct

Alan Pearce
commit

e117c36fa22f2d59ae034745b992ebd669fe11ba

parent

778c6addbea42d251d90618084c7c535927dc15c

1 file changed, 5 insertions(+), 0 deletions(-)

jump to
A 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