# git init --separate-git-dir does not update symbolic .git links for submodules

1 messages from 2017-03-04 to 2017-03-04. Participants: Sven Strickroth.
Thread: https://gitlist.dev/t/45291

## Sven Strickroth, 2017-03-04 12:15

Subject: git init --separate-git-dir does not update symbolic .git links for submodules
Message-ID: <ede7618e-fdf9-7bb6-850b-2b03b4092306@cs-ware.de>
URL: https://gitlist.dev/e/ede7618e-fdf9-7bb6-850b-2b03b4092306%40cs-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

```
