From: Oleg Broytman Date: Wed, 9 Nov 2016 17:11:19 +0000 (+0300) Subject: Add a script to list repos with assumed unchanged files X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=57eafcd35f740fb53a17787cb99bdab715088d72;p=git-scripts.git Add a script to list repos with assumed unchanged files --- diff --git a/ls-assumed b/ls-assumed new file mode 100755 index 0000000..2ca55c9 --- /dev/null +++ b/ls-assumed @@ -0,0 +1,5 @@ +#! /bin/sh + +exec "`dirname \"$0\"`"/do-all \ + 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ + 'test -n "`git ls-files -v | grep ^h`" && echo "$d"'