From: Junio C Hamano Date: Fri, 02 Oct 2015 20:54:05 GMT Subject: Re: [PATCH 2/9] ref-filter: implement %(if:equals=) and %(if:notequals=) Message-ID: In-Reply-To: <1443807546-5985-3-git-send-email-Karthik.188@gmail.com> Karthik Nayak writes: > Implement %(if:equals=) wherein the if condition is only > satisfied if the value obtained between the %(if:...) and %(then) atom > is the same as the given ''. > > Similarly, implement (if:notequals=) wherein the if condition > is only satisfied if the value obtained between the %(if:...) and > %(then) atom is differnt from the given ''. > > Add tests and Documentation for the same. > > Mentored-by: Christian Couder > Mentored-by: Matthieu Moy > Signed-off-by: Karthik Nayak > --- The fast that the patch touches only the narrow parts that are specific to %(if),%(then) and %(else) and does not have to touch any generic part (other than the populate_value() parser for obvious reasons) is a good signal that tells us that the basic structure of the code is very sound. I very much like the direction in which this series is going ;-)