Re: [PATCH v2] filter-branch: return 2 when nothing to rewrite

2018-03-15 Thread Jeff King
On Thu, Mar 15, 2018 at 06:09:18PM +0100, Michele Locati wrote: > Using the --state-branch option allows us to perform incremental filtering. > This may lead to having nothing to rewrite in subsequent filtering, so we need > a way to recognize this case. > So, let's exit with 2 instead of 1 when

Re: [PATCH v2] filter-branch: return 2 when nothing to rewrite

2018-03-15 Thread Junio C Hamano
Michele Locati writes: > Using the --state-branch option allows us to perform incremental filtering. > This may lead to having nothing to rewrite in subsequent filtering, so we need > a way to recognize this case. > So, let's exit with 2 instead of 1 when this "error" occurs.

[PATCH v2] filter-branch: return 2 when nothing to rewrite

2018-03-15 Thread Michele Locati
Using the --state-branch option allows us to perform incremental filtering. This may lead to having nothing to rewrite in subsequent filtering, so we need a way to recognize this case. So, let's exit with 2 instead of 1 when this "error" occurs. Signed-off-by: Michele Locati