{"thread":{"id":"45292","subject":"Re: git init --separate-git-dir does not update symbolic .git links for submodules","startedAt":"2017-03-04T14:16:02Z","lastAt":"2017-03-06T16:41:47Z","messageCount":2,"participants":["Valery Tolstov","Stefan Beller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"313270","messageId":"1488636950.25023.2@smtp.yandex.ru","threadId":"45292","inReplyTo":null,"subject":"Re: git init --separate-git-dir does not update symbolic .git links for submodules","fromName":"Valery Tolstov","fromEmail":"me@vtolstov.org","sentAt":"2017-03-04T14:15:50Z","receivedAt":"2017-03-04T14:16:02Z","isPatch":false,"sender":{"key":"me@vtolstov.org","avatar":"https://avatars.githubusercontent.com/u/1188278?v=4"},"body":"Looking for microproject ideas for GSoC.\nWould this issue be suitable as the microproject?\n\nThanks,\n  Valery Tolstov\n\n\n\n"},{"id":"313343","messageId":"CAGZ79kZbc394rmxYDUxCbysKNbEQCB7aLJkf6MGcCeXKAxiKhA@mail.gmail.com","threadId":"45292","inReplyTo":"1488636950.25023.2@smtp.yandex.ru","subject":"Re: git init --separate-git-dir does not update symbolic .git links for submodules","fromName":"Stefan Beller","fromEmail":"sbeller@google.com","sentAt":"2017-03-06T16:40:46Z","receivedAt":"2017-03-06T16:41:47Z","isPatch":false,"sender":{"key":"stefanbeller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/455868?v=4"},"body":"On Sat, Mar 4, 2017 at 6:15 AM, Valery Tolstov <me@vtolstov.org> wrote:\n> Looking for microproject ideas for GSoC.\n> Would this issue be suitable as the microproject?\n\nIt would be a good project, but not as 'micro' I would assume. ;)\nWhy it is not a micro project:\n\nTo fix this issue we'd want to fix the .git link files recursively, i.e.\nnested submodules would also need fixing. And to recurse into\nsubmodules we normally spawn a child process.\n\nSo maybe the plan is as follow:\n1) Add the functionality to builtin/submodule--helper.c\n    it fixes just one submodule, given by name.\n2) add an externally visible command in the same file\n  See e.g. module_name (the function and the table\n  at the very end of the file)\n  (1) needs to call this command (see clone_submodule() in\n    that file how to call further commands)\n\n2) \"git init --separate-git-dir ../test\" would call the function\n  in (1), which then recursively uses (2) to call (1) in nested\n  submodules.\n\nAfter thinking about it, it may be good for a micro project,\nas it is smaller than originally assumed.\nSpecifically if you plan to look into submodules later on.\n\nThanks,\nStefan\n"}]}