git/list[1] front-page[2] threads[3] people[4] search[5] about
 

submodule cloning issue

From
BWBrian Walsh <brian@walsh.ws>
Date
Apr 14, 2020, 18:23 UTC
Message-ID
<CAG0OLMYrQhuUXP7yrBCA5yKu3hvnrNKrjSn5nZj45gW_P0U5tg@mail.gmail.com>

I am seeing a problem with cloning a repo with submodules while on my company vpn. One of the submodule urls has an http redirect. It will timeout trying to clone that redirected submodule and only that submodule. I would say that it is solely an issue with my company vpn however I can do a git clone of the repo that is failing and it does properly redirect and clone. So there is a difference in how git submodule--helper clone works vs git clone. If I drop off of the vpn it works without any problem.

I am seeing the issue with version 2.25 and 2.26 running under ubuntu.
I have not had time to dig into it further to see what is going on.
Here is the repo that is having issues.
https://github.com/ycm-core/YouCompleteMe.git

This submodule that is buried in there is redirected to a new url. It will hang trying to submodule clone. https://github.com/mitsuhiko/flask-sphinx-themes.git

Message 1 of 1 in “submodule cloning issue”
  1. Brian WalshApr 14, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.