{"thread":{"id":"11448","subject":"About the .gitmodules file","startedAt":"2008-01-02T10:39:24Z","lastAt":"2008-01-02T17:13:17Z","messageCount":2,"participants":["Imran M Yousuf","Miklos Vajna"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"64330","messageId":"7bfdc29a0801020239w6f4133d3pc6f1aa325b1067db@mail.gmail.com","threadId":"11448","inReplyTo":null,"subject":"About the .gitmodules file","fromName":"Imran M Yousuf","fromEmail":"imyousuf@gmail.com","sentAt":"2008-01-02T10:39:24Z","receivedAt":"2008-01-02T10:39:24Z","isPatch":false,"sender":{"key":"imyousuf@gmail.com","avatar":"https://gravatar.com/avatar/fda3c870262849d03c7b9c4d288842e128d6d80769fa7bc2d22731b7597928be?d=mp&s=160"},"body":"Hi All,\n\nI need a help in order to parse the .gitmodules file generated on\n\"git-submodule add\". An entry for a submodule in that file looks like:\n\n    [submodule \"a\"]\n            path = a\n            url = /home/imyousuf/projects/git-projs/smart-sip/submodules/a/.git\n\nI want to parse this file to know the location of my module so that\nwhen I got git-commit on the parent project my script will also\ntraverse the submodule hierarchy. I wanted to know whether path = a\nnoted the relative path from the current directory or not.\n\nThanks in advance,\n\n-- \nImran M Yousuf\n"},{"id":"64339","messageId":"20080102171317.GE29972@genesis.frugalware.org","threadId":"11448","inReplyTo":"7bfdc29a0801020239w6f4133d3pc6f1aa325b1067db@mail.gmail.com","subject":"Re: About the .gitmodules file","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-01-02T17:13:17Z","receivedAt":"2008-01-02T17:13:17Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Wed, Jan 02, 2008 at 04:39:24PM +0600, Imran M Yousuf <imyousuf@gmail.com> wrote:\n> \"git-submodule add\". An entry for a submodule in that file looks like:\n> \n>     [submodule \"a\"]\n>             path = a\n>             url = /home/imyousuf/projects/git-projs/smart-sip/submodules/a/.git\n\nthat means:  the submodule is under /root_of_the_repo/a/ and the repo\nshould be cloned from $url (to a/) when one clones the parent repo and\nruns git submodule init\n\n- VMiklos\n"}]}