From: Oleg Broytman Date: Wed, 30 Mar 2016 21:56:55 +0000 (+0300) Subject: Add set-commit-date-not-packed X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=commitdiff_plain;h=8acd6f41a8545f7f42bbd9a5b0b731b2bdc3c644 Add set-commit-date-not-packed Call set-commit-date-recursive on all not-packed repositories. --- diff --git a/set-commit-date-not-packed b/set-commit-date-not-packed new file mode 100755 index 0000000..1073bc8 --- /dev/null +++ b/set-commit-date-not-packed @@ -0,0 +1,10 @@ +#! /bin/sh + +# Call set-commit-date-recursive on all not-packed repositories + +cd "`dirname \"$0\"`" && prog_dir="`pwd`" && +for d in `"$prog_dir"/ls-not-packed` +do + cd "$d"; test -d .git || continue && + echo "$d"; "$prog_dir"/set-commit-date-recursive || exit 1 +done