Re: git-submodule nested subrepo bug (Segmentation fault)

2013-05-22 Thread John Keeping
I'm guessing Kirill meant to send this to the list and not just to me.

It looks to me like the segfault is in MSys's mkdir.exe and not a Git
process.

- Forwarded message from Kirill Berezin ene...@develop-project.ru -

From: Kirill Berezin ene...@develop-project.ru
To: John Keeping j...@keeping.me.uk
Date: Wed, 22 May 2013 09:54:47 +0400
Message-ID: caaobgf-pe_6pf3af5uba8rfkwxa43gxeg9romjf62usz7k4...@mail.gmail.com
Subject: Re: git-submodule nested subrepo bug (Segmentation fault)

Ok, version is: 1.8.1.msysgit.1
Segmentation fault at the git clone --recursive 
http://github.com/Exsul/al_server
0 [main] mkdir 6596 open_stackdumpfile: Dumping stack trace to 
mkdir.exe.stackdump
C:\Users\\libexec\git-core\git-submodule: line 181: 6596
Segmentation fault (core dumped) mkdir -p $ditdir_base
fatal: Could not switch to 's:/USER//al_server/.git/modules/': No such file 
or directory
Clone of 'https://.../Exsul/chat.git' into submodule path 'chat' failed

PS so much mails per day...

2013/5/20 Kirill Berezin ene...@develop-project.ru:
 This is standart github shell(Windows 7). Right now i cant access my
 home platform, will tell you tommorow.

 2013/5/20 John Keeping j...@keeping.me.uk:
 On Mon, May 20, 2013 at 09:32:21AM +0400, Kirill Berezin wrote:
 When you trying to add submodule, that already has submodule, it craches.
 For example you could try: git clone --recursive
 http://github.com/Exsul/al_server

 Which version of Git were you using?  I was not able to reproduce this
 with 1.8.3-rc3.



- End forwarded message -
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: git-submodule nested subrepo bug (Segmentation fault)

2013-05-22 Thread Kirill Berezin
Ok, version is: 1.8.1.msysgit.1
Segmentation fault at the git clone --recursive
http://github.com/Exsul/al_server
0 [main] mkdir 6596 open_stackdumpfile: Dumping stack trace to
mkdir.exe.stackdump
C:\Users\\libexec\git-core\git-submodule: line 181: 6596
Segmentation fault (core dumped) mkdir -p $ditdir_base
fatal: Could not switch to 's:/USER//al_server/.git/modules/': No
such file or directory
Clone of 'https://.../Exsul/chat.git' into submodule path 'chat' failed

2013/5/20 John Keeping j...@keeping.me.uk:
 On Mon, May 20, 2013 at 09:32:21AM +0400, Kirill Berezin wrote:
 When you trying to add submodule, that already has submodule, it craches.
 For example you could try: git clone --recursive
 http://github.com/Exsul/al_server

 Which version of Git were you using?  I was not able to reproduce this
 with 1.8.3-rc3.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: git-submodule nested subrepo bug (Segmentation fault)

2013-05-20 Thread John Keeping
On Mon, May 20, 2013 at 09:32:21AM +0400, Kirill Berezin wrote:
 When you trying to add submodule, that already has submodule, it craches.
 For example you could try: git clone --recursive
 http://github.com/Exsul/al_server

Which version of Git were you using?  I was not able to reproduce this
with 1.8.3-rc3.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


git-submodule nested subrepo bug (Segmentation fault)

2013-05-19 Thread Kirill Berezin
When you trying to add submodule, that already has submodule, it craches.
For example you could try: git clone --recursive
http://github.com/Exsul/al_server

Its happens because git dont create `modules` directory.
al_server/.git/modules


Workaround for it wont work to:
git submodule update --init
It init only first level of subrepos.
When you do:
cd chat
git submodule update --init
It crashes cause missed `modules` directory for submodule:
al_server/.git/modules/chat/modules

Final workaround is create this directory and try last command again.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html