From 1c78c78d2513eaf22105c87484c65b4eecdf0bfc Mon Sep 17 00:00:00 2001 From: Denton Liu Date: Fri, 20 Dec 2019 10:45:00 -0800 Subject: 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 Signed-off-by: Junio C Hamano --- contrib/credential/netrc/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 contrib/credential/netrc/.gitignore (limited to 'contrib/credential/netrc/.gitignore') 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 -- cgit v1.2.3