summaryrefslogtreecommitdiff
path: root/builtin/credential.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-12-12 08:56:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-12-12 19:42:59 (GMT)
commit55dfc8de1844e4295bc02d4a279a432e26dc4740 (patch)
treef62077c1818ecb4b70b8b41865c9b212a5141ebc /builtin/credential.c
parent2c6207abbd6c430be06ddfef97d145d7e21446fb (diff)
downloadgit-55dfc8de1844e4295bc02d4a279a432e26dc4740.zip
git-55dfc8de1844e4295bc02d4a279a432e26dc4740.tar.gz
git-55dfc8de1844e4295bc02d4a279a432e26dc4740.tar.bz2
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/credential.c')
0 files changed, 0 insertions, 0 deletions