run-command: conditionally define locate_in_PATH()
commitbb532b534547d0a6b203baaf2f3379d987f611b9
authorMatthias Aßhauer <mha1993@live.de>
Fri, 4 Aug 2023 04:08:42 +0000 (4 04:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Aug 2023 04:21:07 +0000 (3 21:21 -0700)
tree1f8353109dd5773900943b337b91edc3dd91cb96
parentfb7d80edcae482f4fa5d4be0227dc3054734e5f3
run-command: conditionally define locate_in_PATH()

This commit doesn't change any behaviour by itself, but allows us to easily
define compat replacements for locate_in_PATH(). It prepares us for the next
commit that adds a native Windows implementation of locate_in_PATH().

Signed-off-by: Matthias Aßhauer <mha1993@live.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c