Re: [PATCH v10 03/20] ref-filter: implement %(if:equals=) and %(if:notequals=)

2017-01-14 Thread Karthik Nayak
Hello, On Wed, Jan 11, 2017 at 2:15 AM, Junio C Hamano wrote: > Karthik Nayak writes: > >> + if_then_else->condition_satisfied = 1; >> + } else if (if_then_else->cmp_status == COMPARE_UNEQUAL) { > > Please, no space before tabs

Re: [PATCH v10 03/20] ref-filter: implement %(if:equals=) and %(if:notequals=)

2017-01-10 Thread Junio C Hamano
Karthik Nayak writes: > + if_then_else->condition_satisfied = 1; > + } else if (if_then_else->cmp_status == COMPARE_UNEQUAL) { Please, no space before tabs (locally fixed--no need to resend).

[PATCH v10 03/20] ref-filter: implement %(if:equals=) and %(if:notequals=)

2017-01-10 Thread Karthik Nayak
From: Karthik Nayak 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