X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=set-commit-date-repos;h=50244f8f11940b7e9932635bf8caea224605a38d;hp=99e04ce015082cabb4ff61257275b06632bf2372;hb=HEAD;hpb=b5a65bd2ca9eb6887fbb3f94ae5c6f262e7d38dc diff --git a/set-commit-date-repos b/set-commit-date-repos index 99e04ce..50244f8 100755 --- a/set-commit-date-repos +++ b/set-commit-date-repos @@ -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