Re: [PATCH] submodule: Fix regression for deinit without submodules

2016-03-22 Thread Junio C Hamano
Stefan Beller writes: > Per Cederqvist wrote: >> It used to be possible to run >> >>git submodule deinit -f . >> >> to remove any submodules, no matter how many submodules you had. That >> is no longer possible in projects that don't have any submodules at >> all. The command will fail with

[PATCH] submodule: Fix regression for deinit without submodules

2016-03-22 Thread Stefan Beller
Per Cederqvist wrote: > It used to be possible to run > >git submodule deinit -f . > > to remove any submodules, no matter how many submodules you had. That > is no longer possible in projects that don't have any submodules at > all. The command will fail with: > > error: pathspec '.' did