Re: Shallow submodules

Nico Huber via coreboot <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <[email protected]>
Hi,

On 21.01.24 21:29, Matt DeVillier wrote:
> Is there a reason not to use absolute paths in .gitmodules for upstream?
> That's what I have to do currently for my fork, for the submodules which I
> haven't forked

with some people cloning from coreboot.org and some from github.com,
there is no correct absolute path.

The manpage git-submodule(1) gives a hint about `init':
  "You can then customize the submodule clone URLs in .git/config for
   your local setup and proceed to git submodule update; [...]"

We could indeed script something after running `submodule init'. Like
a Kconfig that replaces the default `../' prefix. Would that help?
One could then have the path (prefix) in site-local/.

Nico

_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.