git submodule add adding an extra "Git" to path

From: Ulrich Windl <hidden>
Date: 2022-03-11 12:00:14

Hi!

I just noticed this (in ~/src/C/iotwatch.lib):
% git submodule add ../Git/threadtools.git threadtools

complained:
fatal: repository '~/src/C/Git/Git/threadtools.git' does not exist

"~" is not actually displayed here, but that does not matter: Just image it reads "/home/user" instead.

Using the absolute path, worked, however.
% git submodule add ~/src/C/Git/threadtools.git threadtools

git version 2.26.2 from SLES12 SP5

Regards,
Ulrich


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help