Re: [PATCHv5] submodule deinit: require '--all' instead of '.' for all submodules
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 5, 2016, 20:37 UTC
- Message-ID
- <20160505203705.GB22726@google.com>
- In-Reply-To
- <1462477952-6669-1-git-send-email-sbeller@google.com>
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'?
[...]
> So instead of a pathspec add the '--all' option to deinit all submodules > and add a test to check for the corner case of an empty repository.
[...]
> Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>