]> git.ipfire.org Git - thirdparty/git.git/commit
log-tree: drop unused commit param in remerge_diff()
authorJeff King <peff@peff.net>
Fri, 19 Aug 2022 08:50:33 +0000 (04:50 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 19:20:43 +0000 (12:20 -0700)
commite2841f706ecf449c67514c253d80445b9db9a08b
tree8d0953366a64f0c608e8f302659c0c44e8a05ba5
parentf1d019071ea68cb2bd2602b925d7a3726ded22e9
log-tree: drop unused commit param in remerge_diff()

This function has never used its "commit" parameter since it was added
in db757e8b8d (show, log: provide a --remerge-diff capability,
2022-02-02).

This makes sense; we already have separate parameters for the parents
(which lets us redo the merge) and the oid of the result tree (which we
can then diff against the remerge result).

Let's drop the unused parameter in the name of clarity.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c