]> git.99rst.org Git - git.git/commit
userdiff: add and use for_each_userdiff_driver()
authorÆvar Arnfjörð Bjarmason <redacted>
Thu, 8 Apr 2021 15:04:19 +0000 (17:04 +0200)
committerJunio C Hamano <redacted>
Thu, 8 Apr 2021 19:19:10 +0000 (12:19 -0700)
commitf12fa9ee6c87efa8a926973bd203ef327686fb62
tree3fa83d5b34df870fd6e0744478444fa3bd3cda95
parent82512e008c82834df5a00ea79e1091da45b330b0
userdiff: add and use for_each_userdiff_driver()

Refactor the userdiff_find_by_namelen() function so that a new
for_each_userdiff_driver() API function does most of the work.

This will be useful for the same reason we've got other for_each_*()
API functions as part of various APIs, and will be used in a follow-up
commit.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
userdiff.c
userdiff.h
git clone https://git.99rst.org/PROJECT