Merge branch 'bw/push-submodule-only'
[gitweb.git] / git-submodule.sh
index b43af1742c7c54b4681ff56292a04a715d09d5e0..9788175979273f8748635e2f5078f3ca8d4b7500 100755 (executable)
@@ -371,7 +371,7 @@ cmd_init()
                shift
        done
 
-       git ${wt_prefix:+-C "$wt_prefix"} submodule--helper init ${GIT_QUIET:+--quiet} ${prefix:+--prefix "$prefix"} "$@"
+       git ${wt_prefix:+-C "$wt_prefix"} ${prefix:+--super-prefix "$prefix"} submodule--helper init ${GIT_QUIET:+--quiet}  "$@"
 }
 
 #