Re: [PATCHv2] submodule deinit: require '--all' instead of '.' for all submodules

2016-05-03 Thread Jonathan Nieder
Stefan Beller wrote: [...] >>$ rungit v2.6.6 submodule deinit . >>error: pathspec '.' did not match any file(s) known to git. >>Did you forget to 'git add'? >>$ >file && git add file >>$ rungit v2.6.6 submodule deinit . >>$ echo $? >>0 > >

[PATCHv2] submodule deinit: require '--all' instead of '.' for all submodules

2016-05-03 Thread Stefan Beller
The discussion in [1] realized that '.' is a faulty suggestion as there is a corner case where it fails: > "submodule deinit ." may have "worked" in the sense that you would > have at least one path in your tree and avoided this "nothing > matches" most of the time. It would have still failed