Unroll the loop over passes
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 12 Aug 2011 21:43:10 +0000 (23:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Aug 2011 22:02:01 +0000 (15:02 -0700)
The passes no longer share much code, and the unrolled code is easier
to understand.

Use a new index variable instead of num_attr for the second loop, as
we are no longer counting attributes but rather indexing through them.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found