]> git.phdru.name Git - git-scripts.git/blobdiff - set-commit-date-repos
Rename touch-all -> set-commit-date
[git-scripts.git] / set-commit-date-repos
diff --git a/set-commit-date-repos b/set-commit-date-repos
new file mode 100755 (executable)
index 0000000..99e04ce
--- /dev/null
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+# Call set-commit-date on all repositories.
+
+cd "`dirname \"$0\"`" &&
+prog_dir="`pwd`" &&
+
+exec "$prog_dir"/do-all \
+   'test "$g" = "$d/.git" || continue &&' \
+   'cd "$d"; echo "$d"; "$prog_dir"/set-commit-date &&' \
+   'git submodule foreach "$prog_dir"/set-commit-date'