diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-12-20 10:45:00 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-20 12:40:50 -0800 |
commit | 1c78c78d2513eaf22105c87484c65b4eecdf0bfc (patch) | |
tree | 3f25f8997fe2dc10d379bd28bad5a06fc9e56ec4 /contrib/credential/netrc/.gitignore | |
parent | Git 2.24.1 (diff) | |
download | tgif-1c78c78d2513eaf22105c87484c65b4eecdf0bfc.tar.xz |
contrib/credential/netrc: make PERL_PATH configurable
The shebang path for the Perl interpreter in git-credential-netrc was
hardcoded. However, some users may have it located at a different
location and thus, would have had to manually edit the script.
Add a .perl prefix to the script to denote it as a template and ignore
the generated version. Augment the Makefile so that it generates
git-credential-netrc from git-credential-netrc.perl, just like other
Perl scripts.
The Makefile recipes were shamelessly stolen from
contrib/mw-to-git/Makefile.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/credential/netrc/.gitignore')
-rw-r--r-- | contrib/credential/netrc/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/credential/netrc/.gitignore b/contrib/credential/netrc/.gitignore new file mode 100644 index 0000000000..d41cdde84b --- /dev/null +++ b/contrib/credential/netrc/.gitignore @@ -0,0 +1 @@ +git-credential-netrc |