summaryrefslogtreecommitdiff
path: root/builtin/merge.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-12-12 09:56:47 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-12 11:43:47 -0800
commit60cc3c4072259609aefbdbc762d1f72bcbd97783 (patch)
treefb574895a06797d32f327001edb47bf19c94442c /builtin/merge.c
parentexpire_reflog(): use a lock_file for rewriting the reflog file (diff)
downloadtgif-60cc3c4072259609aefbdbc762d1f72bcbd97783.tar.xz
Extract function should_expire_reflog_ent()
Extract from expire_reflog_ent() a function that is solely responsible for deciding whether a reflog entry should be expired. By separating this "business logic" from the mechanics of actually expiring entries, we are working towards the goal of encapsulating reflog expiry within the refs API, with policy decided by a callback function passed to it by its caller. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge.c')
0 files changed, 0 insertions, 0 deletions