summaryrefslogtreecommitdiff
path: root/builtin/fsck.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-12-12 09:56:43 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-12 11:42:59 -0800
commit55dfc8de1844e4295bc02d4a279a432e26dc4740 (patch)
treef62077c1818ecb4b70b8b41865c9b212a5141ebc /builtin/fsck.c
parentrefs.c: add a function to append a reflog entry to a fd (diff)
downloadtgif-55dfc8de1844e4295bc02d4a279a432e26dc4740.tar.xz
expire_reflog(): it's not an each_ref_fn anymore
Prior to v1.5.4~14, expire_reflog() had to be an each_ref_fn because it was passed to for_each_reflog(). Since then, there has been no reason for it to implement the each_ref_fn interface. So... * Remove the "unused" parameter (which took the place of "flags", but was really unused). * Declare the last parameter to be (struct cmd_reflog_expire_cb *) rather than (void *). Helped-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fsck.c')
0 files changed, 0 insertions, 0 deletions