Re: [bug] Git submodule command interprets switch as argument and switch

2017-08-18 Thread R0b0t1
On Fri, Aug 18, 2017 at 3:38 PM, Jonathan Nieder wrote: > Hi, > > R0b0t1 wrote: > >> The issue is as follows: >> >> R0b0t1@host:~/devel/project$ git submodule add >> https://github.com/user/project -f >> Cloning into '/home/R0b0t1/devel/project/-

[bug] Git submodule command interprets switch as argument and switch

2017-08-17 Thread R0b0t1
The issue is as follows: R0b0t1@host:~/devel/project$ git submodule add https://github.com/user/project -f Cloning into '/home/R0b0t1/devel/project/-f'... My .gitignore's first line is *, and then I explicitly allow things. Despite the presence of "project/" in the