git init --separate-git-dir does not update symbolic .git links for submodules
- From
- Sven Strickroth <sven@cs-ware.de>
- Date
- Mar 4, 2017, 12:15 UTC
- Message-ID
- <ede7618e-fdf9-7bb6-850b-2b03b4092306@cs-ware.de>
Hi,
clone or have a repository with submodules.
Now issue "git init --separate-git-dir ../test" which moves the content of the .git direcotry to the ../test directory and replaces the .git directory with a .git file "link".
However, for all submodules the .git-file is not updated and still points to the .git directory of the parent repository which now is a file.
This issue is present for me in Git 2.12.0.
-- Best regards, Sven Strickroth PGP key id F5A9D4C4 @ any key-server