Re: [PATCH v4 2/8] SubmittingPatches: clarify 'git-contacts' location
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 16, 2024, 22:57 UTC
- Message-ID
- <xmqqjzkwdigv.fsf@gitster.g>
- In-Reply-To
- <owly34rl53mr.fsf@fine.c.googlers.com>
Linus Arver <linusa@google.com> writes:
Show 13 quoted lines
>> In the context of _this_ document where the user is working on _git_ >> project towards submitting patches to _us_, it is far simpler to >> drop the above paragraph and tell them how to run the script in >> contrib/, e.g. >> >> $ perl contrib/contacts/git-contacts <args>... >> >> without hinting there is anything platform/distro specific, and >> instead to have them all work from our sources. > > Indeed. One small change is that the script already has the execute bit > set so I can drop `perl` as $0 (the execute bit is removed when it is > copied into /usr/share/... on my system).
We want to be a bit careful here, though.
The script begins with "#!/usr/bin/perl", but on some systems ther eis no such command (but /usr/local/bin is on user's PATH and perl exists there).