]> git.phdru.name Git - git-scripts.git/blobdiff - set-commit-date-repos
Feat(submodules/remove): Add option `-c`
[git-scripts.git] / set-commit-date-repos
index 99e04ce015082cabb4ff61257275b06632bf2372..50244f8f11940b7e9932635bf8caea224605a38d 100755 (executable)
@@ -1,11 +1,8 @@
 #! /bin/sh
 
-# Call set-commit-date on all repositories.
+# Call set-commit-date-recursive 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'
+exec "$prog_dir"/run-workdirs -v "$prog_dir"/set-commit-date-recursive