]> git.ipfire.org Git - thirdparty/git.git/commit
request-pull: stop depending on Perl
authorPatrick Steinhardt <ps@pks.im>
Wed, 16 Apr 2025 12:16:08 +0000 (14:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Apr 2025 14:30:29 +0000 (07:30 -0700)
commit76042228f20bd9b97a7454b62c70b28117c351c0
tree0014a74c148ca303554167c1c16fed1bff944b05
parentf6d855091e73fdab8a39185a8392b9d0df7ed46f
request-pull: stop depending on Perl

While git-request-pull(1) is written as a shell script, for it to
function we depend on Perl being available. The script gets installed
unconditionally though, regardless of whether or not Perl is even
available on the system. When it's not available, the `@PERL_PATH@`
variable may be substituted with a nonexistent executable path and thus
cause the script to fail.

Refactor the script so that it does not depend on Perl at all anymore.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-request-pull.sh
t/t5150-request-pull.sh