When the submodule .git is really a gitfile referring to the super-repo .git/modules/... directory, git-module init-upstream gives the error "not a directory" when trying to access submodule/.git/refs. The code should be modified to use git to do whatever it is trying to do, or follow the gitfile.
When the submodule .git is really a gitfile referring to the super-repo .git/modules/... directory, git-module init-upstream gives the error "not a directory" when trying to access submodule/.git/refs. The code should be modified to use git to do whatever it is trying to do, or follow the gitfile.