Re: [PATCH] submodule deinit: handle non existing pathspecs gracefully

2018-03-27 Thread Junio C Hamano
Stefan Beller writes: > This fixes a regression introduced in 22e612731b5 (submodule: port s/22e/2e/, I think. > submodule subcommand 'deinit' from shell to C, 2018-01-15), when handling > pathspecs that do not exist gracefully. This restores the historic behavior > of

Re: [PATCH] submodule deinit: handle non existing pathspecs gracefully

2018-03-27 Thread Martin Ă…gren
On 28 March 2018 at 01:28, Stefan Beller wrote: > This fixes a regression introduced in 22e612731b5 (submodule: port s/22/2/ > submodule subcommand 'deinit' from shell to C, 2018-01-15), when handling > pathspecs that do not exist gracefully. This restores the historic

[PATCH] submodule deinit: handle non existing pathspecs gracefully

2018-03-27 Thread Stefan Beller
This fixes a regression introduced in 22e612731b5 (submodule: port submodule subcommand 'deinit' from shell to C, 2018-01-15), when handling pathspecs that do not exist gracefully. This restores the historic behavior of reporting the pathspec as unknown and returning instead of reporting a bug.