From: Jonathan Nieder Date: Thu, 05 May 2016 20:37:05 GMT Subject: Re: [PATCHv5] submodule deinit: require '--all' instead of '.' for all submodules 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 Reviewed-by: Jonathan Nieder