projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6439b33
)
inc/CommitCheck/BlankLines.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 06:54:26 +0000
(14:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 Jan 2011 06:54:26 +0000
(14:54 +0800)
inc/CommitCheck/BlankLines.php
patch
|
blob
|
history
diff --git
a/inc/CommitCheck/BlankLines.php
b/inc/CommitCheck/BlankLines.php
index
e5a037d
..
232efe5
100644
(file)
--- a/
inc/CommitCheck/BlankLines.php
+++ b/
inc/CommitCheck/BlankLines.php
@@
-24,7
+24,7
@@
class MTrackCommitCheck_BlankLines implements IMTrackCommitListener
}
// got blannk line
$seq++;
- $total++;
+
if ($seq > 2) {
return "You are adding more than 2 blank lines - please remove the new blank lines you added and try again.";
}