com karma: Fix error message: hooks/pre-receive
| From: | Johannes Schlüter | Date: | Wed, 25 Jul 2012 01:09:52 +0000 |
| Subject: | com karma: Fix error message: hooks/pre-receive | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69697@lists.php.net to get a copy of this message | ||
Commit: 3f9aeb02ef1bde0d2f3c25c3a297bb872964c99a
Author: Johannes Schlüter <johannes@schlueters.de> Wed, 25 Jul 2012 03:09:52 +0200
Parents: 870bde4b24538cf7b64f0dd01b630241c5a53109
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=3f9aeb02ef1bde0d2f3c25c3a297bb872964c99a
Log:
Fix error message
Changed paths:
M hooks/pre-receive
Diff:
diff --git a/hooks/pre-receive b/hooks/pre-receive
index d605a8d..e30ca6c 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -134,7 +134,7 @@ if (isset($restrictedBranches[$repo_name])) {
}
if (count($restricted) > 0 && $pi->isForced() && $user !=
'johannes') {
- deny("You are allowed to overwrite commits on " . implode(', ',
$restricted));
+ deny("You are not allowed to overwrite commits on " . implode(', ',
$restricted));
}
$prefix = sprintf('%s/', $repo_name);