]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/refname: refactor binary search over refnames
authorPatrick Steinhardt <ps@pks.im>
Wed, 3 Apr 2024 06:04:05 +0000 (08:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Apr 2024 16:16:50 +0000 (09:16 -0700)
commit21767925b034f9ce7b4623433954b9bd0af81248
tree59e94c40c554e1b58be511a54da8db64377e0672
parente8b808258e70d85918aaee0c84817b74a747c9d5
reftable/refname: refactor binary search over refnames

It is comparatively hard to understand how exactly the binary search
over refnames works given that the function and variable names are not
exactly easy to grasp. Rename them to make this more obvious. This
should not result in any change in behaviour.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/refname.c