git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug: nested submodules get an absolute gitdir path
@ 2016-04-06  7:02 Antti Halttunen
  2016-04-06 15:02 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Antti Halttunen @ 2016-04-06  7:02 UTC (permalink / raw)
  To: git

Hi all,

Starting with git v2.7.0,

submodules two levels deep get a .git contents of:
 gitdir: /absolute/path/name

This breaks repos that are moved or copied:

fatal: Not a git repository:
/tmp/tmp.gIyxKWIC26/repo/.git/modules/sub/modules/sub
fatal: 'git status --porcelain' failed in submodule sub

The script https://gitlab.com/snippets/17301 reproduces the issue.

git bisect points to commit ee8838d1.

thanks,
-- 
antti

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-07  6:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-06  7:02 bug: nested submodules get an absolute gitdir path Antti Halttunen
2016-04-06 15:02 ` Junio C Hamano
2016-04-07  6:44   ` Antti Halttunen

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 NNTP newsgroup(s).