]> git.ipfire.org Git - thirdparty/git.git/commit
tree-walk: drop unused base_offset from do_match()
authorJunio C Hamano <gitster@pobox.com>
Fri, 7 Jul 2023 22:21:16 +0000 (15:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Jul 2023 22:27:28 +0000 (15:27 -0700)
commit30c8c55cbfa6e4f81e4d73767294f50f5d9c7d10
treef48cc6c2f6986a37337aeca514afae04d0f83686
parent0ad927e9e0013471cc752781f0c368f862934a44
tree-walk: drop unused base_offset from do_match()

The tree-walk.c:do_match() function takes base_offset but just like
tree_entry_interesting() we dealt with earlier, nobody passes a
value other than 0 in it.  Get rid of the parameter to avoid having
to worry about potential bugs lurking unexercised.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
tree-walk.c