1 2 3 4 5 6
#!/usr/bin/env sh if [ -f "$1/config" ]; then cd "$1" || exit git config cgit.section "$2" fi