]> git.phdru.name Git - git-scripts.git/blobdiff - set-commit-date-recursive
Split set-commit-date-repos into set-commit-date-recursive
[git-scripts.git] / set-commit-date-recursive
diff --git a/set-commit-date-recursive b/set-commit-date-recursive
new file mode 100755 (executable)
index 0000000..c8a2f0a
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+# Call set-commit-date on all submodules.
+
+prog_dir="`dirname \"$0\"`" &&
+
+"$prog_dir"/set-commit-date && \
+exec git submodule foreach "$prog_dir"/set-commit-date