diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-12-12 09:56:43 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-12 11:42:59 -0800 |
commit | 55dfc8de1844e4295bc02d4a279a432e26dc4740 (patch) | |
tree | f62077c1818ecb4b70b8b41865c9b212a5141ebc /sideband.c | |
parent | refs.c: add a function to append a reflog entry to a fd (diff) | |
download | tgif-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 'sideband.c')
0 files changed, 0 insertions, 0 deletions