summaryrefslogtreecommitdiff
path: root/git-relink.perl
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-12-12 09:56:59 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-22 10:11:40 -0800
commitfa5b1830b0605b39295631f6e167ddb133f2dbde (patch)
treea65601ee9a32d33d5f99620325c36dd34f53f9f0 /git-relink.perl
parentexpire_reflog(): treat the policy callback data as opaque (diff)
downloadtgif-fa5b1830b0605b39295631f6e167ddb133f2dbde.tar.xz
reflog_expire(): new function in the reference API
Move expire_reflog() into refs.c and rename it to reflog_expire(). Turn the three policy functions into function pointers that are passed into reflog_expire(). Add function prototypes and documentation to refs.h. [jc: squashed in $gmane/261582, drop "extern" in function definition] Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Stefan Beller <sbeller@google.com> Tweaked-by: Ramsay Jones Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-relink.perl')
0 files changed, 0 insertions, 0 deletions