{"thread":{"id":"33875","subject":"git-submodule nested subrepo bug (Segmentation fault)","startedAt":"2013-05-20T05:32:21Z","lastAt":"2013-05-22T20:03:09Z","messageCount":3,"participants":["Kirill Berezin","John Keeping"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"217958","messageId":"CAAObgf9RNyVOYD00ki347KBqMWoFA3U7-YM3DnLK4yu62SozSQ@mail.gmail.com","threadId":"33875","inReplyTo":null,"subject":"git-submodule nested subrepo bug (Segmentation fault)","fromName":"Kirill Berezin","fromEmail":"enelar@develop-project.ru","sentAt":"2013-05-20T05:32:21Z","receivedAt":"2013-05-20T05:32:21Z","isPatch":false,"sender":{"key":"enelar@develop-project.ru","avatar":"https://gravatar.com/avatar/20172a7b2aa38dc39db6a1ed54d8cf9942bbe8ccf5c049cc325ce2a9273cec4a?d=mp&s=160"},"body":"When you trying to add submodule, that already has submodule, it craches.\nFor example you could try: git clone --recursive\nhttp://github.com/Exsul/al_server\n\nIts happens because git dont create `modules` directory.\nal_server/.git/modules\n\n\nWorkaround for it wont work to:\ngit submodule update --init\nIt init only first level of subrepos.\nWhen you do:\ncd chat\ngit submodule update --init\nIt crashes cause missed `modules` directory for submodule:\nal_server/.git/modules/chat/modules\n\nFinal workaround is create this directory and try last command again.\n"},{"id":"217974","messageId":"20130520102925.GM27005@serenity.lan","threadId":"33875","inReplyTo":"CAAObgf9RNyVOYD00ki347KBqMWoFA3U7-YM3DnLK4yu62SozSQ@mail.gmail.com","subject":"Re: git-submodule nested subrepo bug (Segmentation fault)","fromName":"John Keeping","fromEmail":"john@keeping.me.uk","sentAt":"2013-05-20T10:29:26Z","receivedAt":"2013-05-20T10:29:26Z","isPatch":false,"sender":{"key":"john@keeping.me.uk","avatar":"https://avatars.githubusercontent.com/u/1702081?v=4"},"body":"On Mon, May 20, 2013 at 09:32:21AM +0400, Kirill Berezin wrote:\n> When you trying to add submodule, that already has submodule, it craches.\n> For example you could try: git clone --recursive\n> http://github.com/Exsul/al_server\n\nWhich version of Git were you using?  I was not able to reproduce this\nwith 1.8.3-rc3.\n"},{"id":"218206","messageId":"CAAObgf-2sVPi=vRdv+NvQLSyxmwETEmdLJhfX6=1MCrrJ9DwWg@mail.gmail.com","threadId":"33875","inReplyTo":"20130520102925.GM27005@serenity.lan","subject":"Re: git-submodule nested subrepo bug (Segmentation fault)","fromName":"Kirill Berezin","fromEmail":"enelar@develop-project.ru","sentAt":"2013-05-22T20:03:09Z","receivedAt":"2013-05-22T20:03:09Z","isPatch":false,"sender":{"key":"enelar@develop-project.ru","avatar":"https://gravatar.com/avatar/20172a7b2aa38dc39db6a1ed54d8cf9942bbe8ccf5c049cc325ce2a9273cec4a?d=mp&s=160"},"body":"Ok, version is: 1.8.1.msysgit.1\nSegmentation fault at the git clone --recursive\nhttp://github.com/Exsul/al_server\n0 [main] mkdir 6596 open_stackdumpfile: Dumping stack trace to\nmkdir.exe.stackdump\nC:\\Users\\....\\libexec\\git-core\\git-submodule: line 181: 6596\nSegmentation fault (core dumped) mkdir -p \"$ditdir_base\"\nfatal: Could not switch to 's:/USER/..../al_server/.git/modules/': No\nsuch file or directory\nClone of 'https://.../Exsul/chat.git' into submodule path 'chat' failed\n\n2013/5/20 John Keeping <john@keeping.me.uk>:\n> On Mon, May 20, 2013 at 09:32:21AM +0400, Kirill Berezin wrote:\n>> When you trying to add submodule, that already has submodule, it craches.\n>> For example you could try: git clone --recursive\n>> http://github.com/Exsul/al_server\n>\n> Which version of Git were you using?  I was not able to reproduce this\n> with 1.8.3-rc3.\n"}]}