aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2008-09-22 07:30:08 -0400
committerJunio C Hamano <gitster@pobox.com>2008-09-22 09:36:12 -0700
commit18309f4c3e00886660f15e18c1aaab2f5bc25715 (patch)
tree36ba33910a5e3bc5adfa715c2cdb8c6f78e6c55e /contrib
parent79bbc7fb078f8cabe04020c4619be9b571371398 (diff)
downloadgit-18309f4c3e00886660f15e18c1aaab2f5bc25715.tar.gz
git-18309f4c3e00886660f15e18c1aaab2f5bc25715.tar.xz
Use dashless git commands in setgitperms.perl
Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/hooks/setgitperms.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/hooks/setgitperms.perl b/contrib/hooks/setgitperms.perl
index dab7c8e3a..a577ad095 100644
--- a/contrib/hooks/setgitperms.perl
+++ b/contrib/hooks/setgitperms.perl
@@ -50,7 +50,7 @@ if ((@ARGV < 0) || !GetOptions(
)) { 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';
@@ -155,7 +155,7 @@ elsif ($read_mode) {
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) {