mailinfo: move filter/header stage to struct mailinfo
authorJunio C Hamano <redacted>
Wed, 14 Oct 2015 23:13:34 +0000 (16:13 -0700)
committerJunio C Hamano <redacted>
Wed, 21 Oct 2015 22:39:01 +0000 (15:39 -0700)
commit13c6df2642343ec3d49e17082f38f191f175c742
treeab5464eea646b76e27ee509e17321a99119a0b1d
parent173aef7c2ee9aa0021dad7c70d30f9099be4a134
mailinfo: move filter/header stage to struct mailinfo

Earlier we got rid of two function-scope static variables that kept
track of the states of helper functions by making them extra arguments
that are passed throughout the callchain.  Now we have a convenient
place to store and pass them around in the form of "struct mailinfo",
change them into two fields in the struct.

Signed-off-by: Junio C Hamano <redacted>
builtin/mailinfo.c
git clone https://git.99rst.org/PROJECT