Re: [PATCH 0/2] Use env for all perl invocations

2017-01-12 Thread Junio C Hamano
Pat Pannuto writes: > It feels weird to me that the perl path is fixed at > compile/install-time as opposed to run-time discovery -- this means > users can't change their perl install without breaking git? Among the software packages that use interpreters like perl, python, ruby, etc., there are

Re: [PATCH 0/2] Use env for all perl invocations

2017-01-11 Thread Pat Pannuto
[plain text re-send, sorry] Interesting, I'm guessing this came from when git was installed ( https://github.com/Homebrew/homebrew-core/blob/master/Formula/git.rb#L50 ), when the perl path was likely still /usr/bin/perl It feels weird to me that the perl path is fixed at compile/install-time as o

Re: [PATCH 0/2] Use env for all perl invocations

2017-01-11 Thread Junio C Hamano
Pat Pannuto writes: > I spent a little while debugging why git-format-patch refused to believe > that SSL support was installed (Can't locate Net/SMTP/SSL.pm in @INC...) > Turns out that it was installed for my system's preferred /usr/local/bin/perl, > but not for git-format-patch's hard-coded /u

[PATCH 0/2] Use env for all perl invocations

2017-01-11 Thread Pat Pannuto
I spent a little while debugging why git-format-patch refused to believe that SSL support was installed (Can't locate Net/SMTP/SSL.pm in @INC...) Turns out that it was installed for my system's preferred /usr/local/bin/perl, but not for git-format-patch's hard-coded /usr/bin/perl; changing the sheb