From: Junio C Hamano Date: Fri, 26 Aug 2022 16:54:06 GMT Subject: Re: [PATCH v2 2/3] range-diff: consistently validate the arguments Message-ID: In-Reply-To: <4cd7f09557c7d0a4802b07d1e8440015e0a50524.1661506770.git.gitgitgadget@gmail.com> "Johannes Schindelin via GitGitGadget" writes: > From: Johannes Schindelin > > This patch lets `range-diff` validate the arguments not only when > invoked with one or two arguments, but also in the code path where three > arguments are handled. > > While at it, we now use `usage_msg_opt*()` consistently. > > Signed-off-by: Johannes Schindelin > --- > builtin/range-diff.c | 41 +++++++++++++++++++++++++++++------------ > 1 file changed, 29 insertions(+), 12 deletions(-) Very nice. The updated series is worth having if only for this step. Very very pleasing.