git » repo-mgmt.git » main » tree

[main] / count-gits.sh

#!/bin/sh
set -e
doatree() {
	cd /$1
	echo -n $1: 
	find -mindepth 2 -maxdepth 2 -name '.git' -type d | wc -l
}

doatree sources
for repo in core base kde5; do
	doatree sources/$repo-pkgbuilds
done