From 8acd6f41a8545f7f42bbd9a5b0b731b2bdc3c644 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 31 Mar 2016 00:56:55 +0300 Subject: [PATCH] Add set-commit-date-not-packed Call set-commit-date-recursive on all not-packed repositories. --- set-commit-date-not-packed | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 set-commit-date-not-packed 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 -- 2.39.5