Commit:    3f9aeb02ef1bde0d2f3c25c3a297bb872964c99a
Author:    Johannes Schlüter <johan...@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);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to