From 85d2f64a37d2256a5250dec1b5de542177dd7a76 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 3 Aug 2016 15:27:04 +0300 Subject: [PATCH] Exclude empty "others" directories --- ls-dirty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ls-dirty b/ls-dirty index d440c40..109296e 100755 --- a/ls-dirty +++ b/ls-dirty @@ -2,4 +2,4 @@ exec "`dirname \"$0\"`"/do-all \ 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'test -n "`git ls-files --deleted --modified --others --unmerged --killed --exclude-standard`" && echo "$d"' + 'test -n "`git ls-files --deleted --modified --others --unmerged --killed --exclude-standard --directory --no-empty-directory`" && echo "$d"' -- 2.39.2