blob: 16fce9e15d692f7471d115a56ff218f6919fdbc8 (
plain) (
blame)
1
2
3
4
5
6
7
|
#!/bin/bash
find ~/src -name .git -type d -prune -printf "%h\n" | \
xargs -I "{}" sh -c 'echo $(git -C {} status --porcelain | wc -l) {}' | sort -n
#find ~/src -name .git -type d -prune | \
# xargs -I '{}' git -C '{}' ls-files -m -d
|