Bug: submodules of submodules use absolute gitdir in .git file (instead of relative)
- From
- Robert Siemer <robert.siemer@rohde-schwarz.com>
- Date
- Jun 27, 2017, 13:16 UTC
- Message-ID
- <0d924a0671b642d2b8ba79af8d4fa0d7@rohde-schwarz.com>
Hello everyone,
$ git submodule foreach cat .git
...shows that the gitdir registered in the .git file of submodules is relative. But if you run
$ git submodule foreach --recursive cat .git
...shows that submodules of submodules (if you have any) have an absolute gitdir starting with a slash.
1) Can you confirm that behavior? 2) Am I right that this is a bug (at least because of inconsistency)?
Regards, Robert