From: Oleg Broytman Date: Fri, 10 Jun 2016 12:02:55 +0000 (+0300) Subject: Add a script to list repos with stashed files X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=commitdiff_plain;h=4427073dfc41cb6334673d82f49270b1235c3ee3 Add a script to list repos with stashed files --- diff --git a/ls-stash b/ls-stash new file mode 100755 index 0000000..93af80d --- /dev/null +++ b/ls-stash @@ -0,0 +1,5 @@ +#! /bin/sh + +exec "`dirname \"$0\"`"/do-all \ + 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ + 'test -n "`git stash list`" && echo "$d"'