Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grammar error in main script #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions git-preserve-permissions
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ sub gpp_check () {
my $unknown_files = 0;

if (! -e $name) {
print $gpp_name.": $name does not exists.\n" if not $hook;
print $gpp_name.": $name does not exist.\n" if not $hook;
print "use '".$gpp_name." --save' to initialize it.\n" if not $hook;
return 1;
}
Expand All @@ -227,7 +227,7 @@ sub gpp_check () {
$result |= check_mode($file, $mode);
$result |= check_ids($file, $uid, $gid);
} else {
printf "WARNING: file '%s' does not exists\n", $file if not $hook;
printf "WARNING: file '%s' does not exist\n", $file if not $hook;
}
}

Expand Down Expand Up @@ -314,7 +314,7 @@ sub gpp_restore () {
my $result = 0;

if (! -e $name) {
print $gpp_name.": $name does not exists.\n";
print $gpp_name.": $name does not exist.\n";
print "use '".$gpp_name." --save' to initialize it.\n";
exit 0
}
Expand Down Expand Up @@ -345,7 +345,7 @@ sub gpp_restore () {
$result |= check_mode($file, $restore_mode);
}
} else {
printf "WARNING: file '%s' does not exists\n", $file;
printf "WARNING: file '%s' does not exist\n", $file;
}
}

Expand Down