Skip to content

Commit

Permalink
Use dashless git commands in setgitperms.perl
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Todd Zullinger authored and Junio C Hamano committed Sep 22, 2008
1 parent 79bbc7f commit 18309f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/hooks/setgitperms.perl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
)) { die $usage; }
die $usage unless ($read_mode xor $write_mode);

my $topdir = `git-rev-parse --show-cdup` or die "\n"; chomp $topdir;
my $topdir = `git rev-parse --show-cdup` or die "\n"; chomp $topdir;
my $gitdir = $topdir . '.git';
my $gitmeta = $topdir . '.gitmeta';

Expand Down Expand Up @@ -155,7 +155,7 @@
open (OUT, ">$gitmeta.tmp") or die "Could not open $gitmeta.tmp for writing: $!\n";
}

my @files = `git-ls-files`;
my @files = `git ls-files`;
my %dirs;

foreach my $path (@files) {
Expand Down

0 comments on commit 18309f4

Please sign in to comment.