"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: got incorrectly works with submodule
To:
Sergey Bronnikov <estetus@gmail.com>, gameoftrees@openbsd.org
Date:
Mon, 9 Dec 2024 15:33:23 +0100

Download raw body.

Thread
On Mon, Dec 09, 2024 at 01:52:09PM +0100, Stefan Sperling wrote:
> On Mon, Dec 09, 2024 at 01:55:17PM +0300, Sergey Bronnikov wrote:
> > Hello,
> > 
> > I have a repository with submodules and got incorrectly works there.
> 
> Submodules are out of scope for Game of Trees, sorry.
> Please use Git for this use case.

Regarding why Got isn't seeing the submodule repository: It's because
in a submodule, the path .git is a regular file, rather than a directory.
The file contains a reference to another git directory:

  gitdir: ../.git/modules/foo

I don't think the additional complexity required to support this feature
is warranted. Feature-parity with Git is not a goal for us.