Re: Weak option parsing in `git submodule`

2018-05-08 Thread Kaartic Sivaraam
On Tuesday 08 May 2018 12:35 AM, Stefan Beller wrote: >> The lack of checking for the reason behind why `git add` fails seems to >> be the reason behind that weird message. > > (from the man page) > git submodule [--quiet] add [] [--] [] > > When options are given after or we can

Re: Weak option parsing in `git submodule`

2018-05-07 Thread Stefan Beller
On Sun, May 6, 2018 at 11:10 AM, Kaartic Sivaraam wrote: > I recently faced the consequence of the weak option parsing done by in > `git submodule`. Initially tried to add a new submodule using the `git > submodule add` sub-command in the following way, > > $ git