[PATCH] V2 Add script to check all gitmodules
richard.maw at codethink.co.uk
Wed Jul 24 13:56:57 BST 2013
On Wed, Jul 24, 2013 at 12:34:56PM +0100, Jonathan Maw wrote:
> An additional note I forgot to add:- I did not try to replace the gitmodules
> parsing with the output of `git config` because I would have spent more time
> than I was comfortable with on parsing the output of git config.
> submodule.usbhid-dump.path usbhid-dump
> submodule.usbhid-dump.url upstream:usbhid-dump
> is not something that I can trivially parse.
Couldn't you have used cat-file to list all the commit objects, and used
`git config -f .gitmodules submodule.$path.url`? Or is there some nuance
More information about the baserock-dev