]> git.ipfire.org Git - thirdparty/git.git/commit
name-rev: drop unused parameters from is_better_name()
authorJeff King <peff@peff.net>
Thu, 9 May 2019 21:30:56 +0000 (17:30 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 May 2019 05:22:54 +0000 (14:22 +0900)
commitc0165798952fff060243cdf199df30209f9995bc
treef8de63f45a2d95276ad4f25f658ab9a164f36e5d
parentbe27fb7b287a81b5b3c889121eab99d344272e8b
name-rev: drop unused parameters from is_better_name()

When this function was extracted in 0041bf6544 (name-rev: refactor logic
to see if a new candidate is a better name, 2017-03-29), it ended up
getting more arguments than it needs.

It's possible we may later use these values to evaluate the name, but
since it's a static function with a single caller, it will be easy to
add them back then.

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