From 4427073dfc41cb6334673d82f49270b1235c3ee3 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 10 Jun 2016 15:02:55 +0300 Subject: [PATCH] Add a script to list repos with stashed files --- ls-stash | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 ls-stash 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"' -- 2.39.5