Re: [PATCH 3/3] hook-list.h: add a generated list of hooks, like config-list.h
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 19, 2021, 06:06 UTC
- Message-ID
- <xmqqlf76l765.fsf@gitster.g>
- In-Reply-To
- <CAPig+cQvn+_56iuZmvHVDFSVYto-FMX2vp5aaEGrdr8L8+NY0w@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 7 quoted lines
> That's a good point and not an idle question. It wasn't all that long > ago that I rewrote `generate-cmdlist` in Perl and got a complaint that > the Git project was no longer buildable on FreeBSD[1], with the result > that I ended up re-implementing it (again) in shell[2]. > > [1]: https://lore.kernel.org/git/loom.20150814T171757-901@post.gmane.org/ > [2]: https://lore.kernel.org/git/1440365469-9928-1-git-send-email-sunshine@sunshineco.com/
If it works without Perl, I would not complain too much, but NO_PERL is purely about the execution environment (i.e. do not build and/or install what requires Perl at runtime), so the old complaint [1] misses the point, I would have to say. We do expect a working Perl in test enviroment to run test suite, for example.