About the .gitmodules file
- From
Imran M Yousuf <imyousuf@gmail.com>
- Date
- Jan 2, 2008, 10:39 UTC
- Message-ID
- <7bfdc29a0801020239w6f4133d3pc6f1aa325b1067db@mail.gmail.com>
Hi All,
I need a help in order to parse the .gitmodules file generated on "git-submodule add". An entry for a submodule in that file looks like:
[submodule "a"]
path = a
url = /home/imyousuf/projects/git-projs/smart-sip/submodules/a/.gitI want to parse this file to know the location of my module so that when I got git-commit on the parent project my script will also traverse the submodule hierarchy. I wanted to know whether path = a noted the relative path from the current directory or not.
Thanks in advance,
-- Imran M Yousuf