Index: trunk/tools/code-utils/subgits |
— | — | @@ -12,5 +12,11 @@ |
13 | 13 | # For updating all the repositories: |
14 | 14 | # subgits pull |
15 | 15 | |
16 | | -find -name .git -execdir git "$@" \; |
| 16 | +EXTRA="" |
| 17 | +if [ "$1" == "-v" ]; then |
| 18 | + shift |
| 19 | + EXTRA="-execdir pwd ;" |
| 20 | +fi |
17 | 21 | |
| 22 | +find -name .git $EXTRA -execdir git "$@" \; |
| 23 | + |