From: Sergey Bronnikov Subject: got incorrectly works with submodule To: gameoftrees@openbsd.org Date: Mon, 9 Dec 2024 13:55:17 +0300 Hello, I have a repository with submodules and got incorrectly works there. Got version: got 0.103-1-g82fb769c (portable). Steps to reproduce: $ mkdir repo $ cd repo/ $ git init Initialized empty Git repository in /tmp/repo/.git/ $ touch README $ git add README $ git commit README -m "init" [master (root-commit) 1caaa81] init Author: Sergey Bronnikov 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 README $ git submodule add https://github.com/ligurio/luzer Cloning into '/tmp/repo/luzer'... $ cd luzer $ got log ----------------------------------------------- commit 1caaa8102bda4b80373ed520d7caaece2b8a0614 (master) from: Sergey Bronnikov via: Sergey Bronnikov date: Mon Dec 9 10:46:03 2024 UTC init $ On the last step, got should show commits for a luzer repository, but it shows commit for a parent repository. Sergey