git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Sven Strickroth <sven@cs-ware.de>
To: Git List <git@vger.kernel.org>, Junio C Hamano <gitster@pobox.com>
Subject: git init --separate-git-dir does not update symbolic .git links for submodules
Date: Sat, 4 Mar 2017 13:15:17 +0100	[thread overview]
Message-ID: <ede7618e-fdf9-7bb6-850b-2b03b4092306@cs-ware.de> (raw)

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

             reply	other threads:[~2017-03-04 12:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-04 12:15 Sven Strickroth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-03-04 14:15 git init --separate-git-dir does not update symbolic .git links for submodules Valery Tolstov
2017-03-06 16:40 ` Stefan Beller
2017-03-07 18:59 Valery Tolstov
2017-03-07 19:59 ` Stefan Beller
2017-03-07 19:52 Valery Tolstov
2017-03-07 20:11 ` Stefan Beller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ede7618e-fdf9-7bb6-850b-2b03b4092306@cs-ware.de \
    --to=sven@cs-ware.de \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).