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
>
>
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
2 matches
Mail list logo