]> git.phdru.name Git - git-scripts.git/blobdiff - set-commit-date-not-packed
Add set-commit-date-not-packed
[git-scripts.git] / set-commit-date-not-packed
diff --git a/set-commit-date-not-packed b/set-commit-date-not-packed
new file mode 100755 (executable)
index 0000000..1073bc8
--- /dev/null
@@ -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