Re: [PATCH 06/19] reset.c: remove unnecessary variable 'i'

2013-01-10 Thread Martin von Zweigbergk
On Wed, Jan 9, 2013 at 11:39 AM, Junio C Hamano wrote: > Martin von Zweigbergk writes: > >> Throughout most of parse_args(), the variable 'i' remains at 0. In the >> remaining few cases, we can do pointer arithmentic on argv itself >> instead. >> --- >> This is clearly mostly a matter of taste. T

Re: [PATCH 06/19] reset.c: remove unnecessary variable 'i'

2013-01-09 Thread Junio C Hamano
Martin von Zweigbergk writes: > Throughout most of parse_args(), the variable 'i' remains at 0. In the > remaining few cases, we can do pointer arithmentic on argv itself > instead. > --- > This is clearly mostly a matter of taste. The remainder of the series > does not depend on it in any way.

[PATCH 06/19] reset.c: remove unnecessary variable 'i'

2013-01-09 Thread Martin von Zweigbergk
Throughout most of parse_args(), the variable 'i' remains at 0. In the remaining few cases, we can do pointer arithmentic on argv itself instead. --- This is clearly mostly a matter of taste. The remainder of the series does not depend on it in any way. builtin/reset.c | 29 ++