Browse files

Fix error message

  • Loading branch information...
1 parent 870bde4 commit 3f9aeb02ef1bde0d2f3c25c3a297bb872964c99a @johannes johannes committed Jul 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 hooks/pre-receive
View
2 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);

0 comments on commit 3f9aeb0

Please sign in to comment.