git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com>
To: "Nicolás Ojeda Bär" <n.oje.bar@gmail.com>, git@vger.kernel.org
Subject: Re: [BUG] Changing remote URL of "deinited" submodule not taken into account
Date: Sat, 30 Nov 2024 10:59:48 +0100	[thread overview]
Message-ID: <1e423f15-49e7-4f18-b6a7-612f1bdd7d5a@app.fastmail.com> (raw)
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:
> 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.

  reply	other threads:[~2024-11-30 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-30  7:48 [BUG] Changing remote URL of "deinited" submodule not taken into account Nicolás Ojeda Bär
2024-11-30  9:59 ` Kristoffer Haugsbakk [this message]
2024-11-30 10:10   ` Nicolás Ojeda Bär

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1e423f15-49e7-4f18-b6a7-612f1bdd7d5a@app.fastmail.com \
    --to=kristofferhaugsbakk@fastmail.com \
    --cc=git@vger.kernel.org \
    --cc=n.oje.bar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).