summaryrefslogtreecommitdiff
path: root/t/t9150
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-12-12 09:56:48 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-12 11:43:48 -0800
commitc48a1635355118d490fef5af14d8296a8e6f92df (patch)
tree7c8c53f19d2e20e8e94e9a97cdd3659ecaaedef0 /t/t9150
parentExtract function should_expire_reflog_ent() (diff)
downloadtgif-c48a1635355118d490fef5af14d8296a8e6f92df.tar.xz
expire_reflog(): extract two policy-related functions
Extract two functions, reflog_expiry_prepare() and reflog_expiry_cleanup(), from expire_reflog(). This is a further step towards separating the code for deciding on expiration policy from the code that manages the physical deletion of reflog entries. This change requires a couple of local variables from expire_reflog() to be turned into fields of "struct expire_reflog_cb". More reorganization of the callback data will follow in later commits. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9150')
0 files changed, 0 insertions, 0 deletions