Unroll the loop over passes
authorMichael Haggerty <redacted>
Fri, 12 Aug 2011 21:43:10 +0000 (23:43 +0200)
committerJunio C Hamano <redacted>
Sun, 14 Aug 2011 22:02:01 +0000 (15:02 -0700)
commitd68e1c183c056ae583a45b610d086ac078886154
tree70dbf37999daac0fe6590ecdf8022af126ed041b
parente0a5f9aaae4eea67f513e382d9d917388313d2a6
Unroll the loop over passes

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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
attr.c
git clone https://git.99rst.org/PROJECT