]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rev-list.c
rev-list: drop unused void pointer from finish_commit()
authorJeff King <peff@peff.net>
Thu, 9 May 2019 21:32:03 +0000 (17:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 May 2019 05:22:54 +0000 (14:22 +0900)
commitd92349dd5541ea2d54ec500e204372c93ee89d28
treeb1899b7b6de1570810a551b993b2ba01c6fbbb04
parent113c29ade08054ba2c543b41570e3a6643022b3d
rev-list: drop unused void pointer from finish_commit()

Our finish_commit() function used to be passed directly to the revision
machinery as a callback. But after 989937221a (rev-list: fix
--verify-objects --quiet becoming --objects, 2012-02-28), it is used
only as a helper in show_commit().

It doesn't use its void "data" parameter, and we no longer have to
conform to the callback interface. Let's drop it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-list.c