From: Junio C Hamano <gitster@pobox.com>
To: Shibo Xia <sbxia25@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How should submodules use different sshCommand during initial update?
Date: Mon, 13 Apr 2026 09:02:48 -0700 [thread overview]
Message-ID: <xmqq1pgilufr.fsf@gitster.g> (raw)
In-Reply-To: <CAAC4ekqE0rGTeZA3fPKYePr3=J8pHe-KORgn5W026J8AAhRRHw@mail.gmail.com> (Shibo Xia's message of "Mon, 13 Apr 2026 23:45:53 +0800")
Shibo Xia <sbxia25@gmail.com> writes:
> My use case is that different submodules may need different SSH identities or
> different SSH command settings.
Would it help to do "submodule init" separately from "submodule
update"? Then you have a chance to tweak the submodule.*.url
configuration items in the superproject repository before the clone
actually happens, I would imagine?
next prev parent reply other threads:[~2026-04-13 16:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-13 15:45 How should submodules use different sshCommand during initial update? Shibo Xia
2026-04-13 16:02 ` Junio C Hamano [this message]
2026-04-14 1:28 ` Shibo Xia
2026-04-14 6:15 ` Jeff King
2026-04-14 7:25 ` Shibo Xia
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=xmqq1pgilufr.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=sbxia25@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