Add a flags field to "struct expire_reflog_cb", and pass the flags
argument through to expire_reflog_ent(). In a moment we will start
using it to pass through flags that expire_reflog_ent() needs.
Signed-off-by: Michael Haggerty <redacted>
Reviewed-by: Stefan Beller <redacted>
Signed-off-by: Junio C Hamano <redacted>
};
struct expire_reflog_cb {
+ unsigned int flags;
void *policy_cb;
};
memset(&cb, 0, sizeof(cb));
memset(&policy_cb, 0, sizeof(policy_cb));
+ cb.flags = flags;
cb.policy_cb = &policy_cb;
/*