From: Oleg Broytman Date: Wed, 3 Aug 2016 12:27:04 +0000 (+0300) Subject: Exclude empty "others" directories X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=85d2f64a37d2256a5250dec1b5de542177dd7a76;p=git-scripts.git Exclude empty "others" directories --- 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"'