Re: [RFC PATCH] pathspec: get non matching arguments without reporting.

2016-05-05 Thread Junio C Hamano
Junio C Hamano writes: > Stefan Beller writes: > >> When giving more than just pathspec arguments (e.g. submodule labels), >> we need a way to check all non-matching arguments for the pathspec parsing >> if these are the submodule labels or typos. >> >> This patch prepares for that use case by s

Re: [RFC PATCH] pathspec: get non matching arguments without reporting.

2016-05-05 Thread Junio C Hamano
Stefan Beller writes: > When giving more than just pathspec arguments (e.g. submodule labels), > we need a way to check all non-matching arguments for the pathspec parsing > if these are the submodule labels or typos. > > This patch prepares for that use case by splitting up `report_path_error` >

[RFC PATCH] pathspec: get non matching arguments without reporting.

2016-05-05 Thread Stefan Beller
When giving more than just pathspec arguments (e.g. submodule labels), we need a way to check all non-matching arguments for the pathspec parsing if these are the submodule labels or typos. This patch prepares for that use case by splitting up `report_path_error` into a new checking function `unma