From 92a7fe8c267ba5b43a4ee512fe978c9666da906f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 4 Aug 2014 03:38:41 +0400 Subject: [PATCH] Locate all git repositories --- .gitignore | 1 + locate-all | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .gitignore create mode 100755 locate-all diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb834c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +locate-all.list diff --git a/locate-all b/locate-all new file mode 100755 index 0000000..a7837d2 --- /dev/null +++ b/locate-all @@ -0,0 +1,3 @@ +#! /bin/sh +(locate -b \\.git && locate -b *.git) | sort | uniq | + sed 's!/\.git$!!' >locate-all.list -- 2.39.5