diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-04-16 14:16:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-16 07:30:29 -0700 |
commit | f6d855091e73fdab8a39185a8392b9d0df7ed46f (patch) | |
tree | 7f3d46cb862f888965e133154ac80e9329e2e6c8 /diffcore-pathspec.c | |
parent | 55f7879f573cd1bd560426aea212e96441add5b2 (diff) |
filter-branch: stop depending on Perl
While git-filter-branch(1) is written as a shell script, the
`--state-branch` feature depends on Perl to save and extract the object
ID mappings. This can lead to subtle breakage though:
- We execute `perl` directly without respecting the `PERL_PATH`
configured by the distribution. As such, it may happen that we use
the wrong version of Perl.
- We install the script unchanged even if Perl isn't available at all
on the system, so using `--state-branch` would lead to failure
altogether in that case.
Fix this by dropping Perl and instead implementing the feature with
shell scripting exclusively.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-pathspec.c')
0 files changed, 0 insertions, 0 deletions