SZEDER Gábor <szeder.dev@xxxxxxxxx> 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.