qisrc: do not attempt initializing submodules of bare repositories
It is in fact irrelevant for bare repositories, which do not have an
editable git history.
@@ -195,6 +195,7 @@ class Git(object):
(clone_rc, clone_out) = clone_result
if clone_rc != 0:
return (clone_rc, clone_out)
+ if "--bare" not in args:
submodule_out = self.update_submodules()
if submodule_out is not None:
return (1, submodule_out)
