git-status-all: show dirty git repos
This commit is contained in:
parent
276bf69878
commit
16295ce071
1 changed files with 13 additions and 0 deletions
13
git-status-all
Executable file
13
git-status-all
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Show dirty git repos
|
||||||
|
|
||||||
|
for d in */; do
|
||||||
|
(
|
||||||
|
cd $d
|
||||||
|
status=`git status -s 2>/dev/null`
|
||||||
|
if [ $? -ne 0 -o -n "$status" ]; then
|
||||||
|
echo "== $d"
|
||||||
|
git status -s
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
done
|
Loading…
Add table
Add a link
Reference in a new issue