]> git.phdru.name Git - git-scripts.git/blob - run-recursive
Feat(fix-detached-head): Replace `branch -r` by `for-each-ref`
[git-scripts.git] / run-recursive
1 #! /bin/sh
2
3 "$@" &&
4
5 if [ -f .gitmodules ]; then
6    exec git submodule foreach --quiet --recursive "$@"
7 fi