Skip to content

Commit 18309f4

Browse files
tmzullingergitster
authored andcommitted
Use dashless git commands in setgitperms.perl
Signed-off-by: Todd Zullinger <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 79bbc7f commit 18309f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/hooks/setgitperms.perl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
)) { die $usage; }
5151
die $usage unless ($read_mode xor $write_mode);
5252

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

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

158-
my @files = `git-ls-files`;
158+
my @files = `git ls-files`;
159159
my %dirs;
160160

161161
foreach my $path (@files) {

0 commit comments

Comments
 (0)