diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-12-12 09:56:48 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-12 11:43:48 -0800 |
commit | c48a1635355118d490fef5af14d8296a8e6f92df (patch) | |
tree | 7c8c53f19d2e20e8e94e9a97cdd3659ecaaedef0 /pack-revindex.c | |
parent | Extract function should_expire_reflog_ent() (diff) | |
download | tgif-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 'pack-revindex.c')
0 files changed, 0 insertions, 0 deletions