Re: [PATCH v2 1/2] path: add a function to check for path suffix
From: Junio C Hamano <hidden> Date: 2019-08-13 16:42:39
SZEDER Gábor [off-list ref] writes:
... And that function must be able to handle multiple path
components, becase there is this callsite:
exec-cmd.c: !(prefix = strip_path_suffix(executable_dirname, GIT_EXEC_PATH)) &&
and the build sets '-DGIT_EXEC_PATH="libexec/git-core"' by default.
OK, that answers my earlier question. We do want to support such a
caller with one or more components at the end.
Thanks.