Re: [PATCH 7/8] is_blank_line: take a single xrecord_t as argument

2016-08-04 Thread Junio C Hamano
Michael Haggerty writes: > There is no reason for it to take an array and index as argument, as it > only accesses a single element of the array. Yup, I think I am partly guilty. The result looks much nicer. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a mess

[PATCH 7/8] is_blank_line: take a single xrecord_t as argument

2016-08-03 Thread Michael Haggerty
There is no reason for it to take an array and index as argument, as it only accesses a single element of the array. Signed-off-by: Michael Haggerty --- xdiff/xdiffi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xdiff/xdiffi.c b/xdiff/xdiffi.c index 34f021a..7518c