From d94b827c404e2801797c97a830eecfc6d1489202 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Mon, 9 May 2016 16:06:38 +0200 Subject: [PATCH] it is "git submodule", not "git submodules" --- g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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