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

Issue with commit a2b26ff "fsck: convert gitmodules url to URL passed to curl"

From
AGArno Gourdol <arno.gourdol@gmail.com>
Date
May 11, 2020, 18:02 UTC
Message-ID
<8F92F354-BBDD-4629-98D4-A67E0A865397@gmail.com>
Hi,
I have run into an issue that is preventing me from pushing commits to my GitHub repo. I believe the problem can be tracked down to this change:
https://github.com/git/git/commit/a2b26ffb1a81aa23dd14453f4db05d8fe24ee7cc
This change introduced stricter validation and checking of the .gitmodules file.
The problem is that I had an invalid URL in my .gitmodules file (an extra "/" in "http://“):
```
[submodule "packages/website/assets/tecendil-js"]
    path = packages/website/assets/tecendil-js
    url = https:///github.com/arnog/tecendil-js.git
    branch = master
```
However, I cannot commit a fix to this, as it gets rejected because the current .gitmodules is invalid. As a result I can no longer push commits to my repo.
Any suggestion on how to work around this?
(PS: I have attempted to contact GitHub about this, but haven’t heard back)

Best, Arno.

Next: Jeff King
Message 1 of 2 in “Issue with commit a2b26ff "fsck: convert gitmodules url to URL passed to curl"”
  1. Arno GourdolMay 11, 2020
  2. Jeff KingMay 11, 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.