summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2011-08-12 23:43:10 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-14 15:02:01 -0700
commitd68e1c183c056ae583a45b610d086ac078886154 (patch)
tree70dbf37999daac0fe6590ecdf8022af126ed041b /t
parentChange while loop into for loop (diff)
downloadtgif-d68e1c183c056ae583a45b610d086ac078886154.tar.xz
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 <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions