]> git.phdru.name Git - git-scripts.git/commitdiff
Add touch-ALL-repos
authorOleg Broytman <phd@phdru.name>
Thu, 26 Mar 2015 18:43:14 +0000 (21:43 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 26 Mar 2015 18:43:14 +0000 (21:43 +0300)
touch-ALL-repos [new file with mode: 0755]

diff --git a/touch-ALL-repos b/touch-ALL-repos
new file mode 100755 (executable)
index 0000000..fd63f0e
--- /dev/null
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+exec "`dirname \"$0\"`"/do-all \
+   'test "$g" = "$d/.git" || continue; cd "$d" &&' \
+   'echo "$d" && "$HOME"/admin/prog/git-scripts/touch-all &&' \
+   'git submodule foreach "$HOME"/admin/prog/git-scripts/touch-all'