Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Consistently use perl from /usr/bin/ for scripts

While the majority of scripts use '#!/usr/bin/perl', some use
'#!/usr/bin/env perl'. In the end there is no difference, because the
Makefile rewrites "#!.*perl" with "#!$PERL_PATH" in scripted
Porcelains before installing. Nevertheless, the second form can be
misleading, because it suggests that perl found first in $PATH will be

Suggested-by: Junio C Hamano <>
Signed-off-by: Zbigniew Jędrzejewski-Szmek <>
Signed-off-by: Junio C Hamano <>
  • Loading branch information...
commit 0754e089c1ffc6a40574eee0564ef98b3acacc26 1 parent f71db09
@keszybz keszybz authored gitster committed
Showing with 2 additions and 2 deletions.
  1. +1 −1  git-relink.perl
  2. +1 −1  git-svn.perl
2  git-relink.perl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
# Copyright 2005, Ryan Anderson <>
# Distribution permitted under the GPL v2, as distributed
# by the Free Software Foundation.
2  git-svn.perl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
# Copyright (C) 2006, Eric Wong <>
# License: GPL v2 or later
use 5.008;
Please sign in to comment.
Something went wrong with that request. Please try again.