Re: bug: nested submodules get an absolute gitdir path

2016-04-07 Thread Antti Halttunen
On Wed, Apr 6, 2016 at 6:02 PM, Junio C Hamano <gits...@pobox.com> wrote: > Antti Halttunen <antti.halttu...@iki.fi> writes: > >> Starting with git v2.7.0, >> >> submodules two levels deep get a .git contents of: >> gitdir: /absolute/path/name >

bug: nested submodules get an absolute gitdir path

2016-04-06 Thread Antti Halttunen
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