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

Re: [BUG] Changing remote URL of "deinited" submodule not taken into account

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Nov 30, 2024, 09:59 UTC
Message-ID
<1e423f15-49e7-4f18-b6a7-612f1bdd7d5a@app.fastmail.com>
In-Reply-To
<CAPunWhBQcAifapqxyq7nY+S5WWhZQhBKgeYLL56U1ewRCa7QDA@mail.gmail.com>
Hi Nicolás
On Sat, Nov 30, 2024, at 08:48, Nicolás Ojeda Bär wrote:
Show 6 quoted lines
> Recently I came across an issue involving Git submodules which seems
> like a bug to me.
>
> In short (precise reproduction instructions below), if one updates the
> remote URL of a submodule while it is "deinited", the next time one
> calls "git update" the old URL will be used instead of the new one.

What’s your Git version? You can run `git bugreport` to let Git record a file about your Git and system information. Then you can post it inline here.

Previous: Nicolás Ojeda BärNext: Nicolás Ojeda Bär
Message 2 of 3 in “[BUG] Changing remote URL of "deinited" submodule not taken into account”
  1. Nicolás Ojeda BärNov 30, 2024
  2. Kristoffer HaugsbakkNov 30, 2024
  3. Nicolás Ojeda BärNov 30, 2024

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.