]> git.armaanb.net Git - bin.git/blob - git-check
signal-finder: add script
[bin.git] / git-check
1 #!/usr/bin/env bash
2 # Go into each subdirectory and run a git stat
3
4 for i in $(ls); do
5   if [[ -d $i/.git ]]; then
6     stat=$(git -C $i diff --stat)
7     if [[ -n $stat ]]; then
8       echo $i
9       chars=${#i}
10       for (( j = 0; j < $chars; j++ )); do
11         echo -n "="
12       done
13       echo
14       git -C $i diff --stat
15       echo
16     fi
17   fi
18 done