summaryrefslogtreecommitdiff
path: root/g
diff options
context:
space:
mode:
Diffstat (limited to 'g')
-rwxr-xr-xg2
1 files changed, 1 insertions, 1 deletions
diff --git a/g b/g
index 69b0812265fe..3d2a37d65723 100755
--- a/g
+++ b/g
@@ -220,7 +220,7 @@ local module
if [ -f .gitmodules ] ; then
git submodule update
if [ -n "$branch" ] ; then
- git submodules foreach git checkout -b ${branch} HEAD || return $?
+ git submodule foreach git checkout -b ${branch} HEAD || return $?
fi
else
# now that is the nasty case we moved prior to submodules