Skip to content

Commit 2a83268

Browse files
committed
fix cvs hook handling in old (1.11) cvs server
1 parent 252020a commit 2a83268

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eventum-cvs-hook.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// +----------------------------------------------------------------------+
77
// | Copyright (c) 2003 - 2008 MySQL AB |
88
// | Copyright (c) 2008 - 2010 Sun Microsystem Inc. |
9-
// | Copyright (c) 2011 - 2014 Eventum Team. |
9+
// | Copyright (c) 2011 - 2015 Eventum Team. |
1010
// | |
1111
// | This program is free software; you can redistribute it and/or modify |
1212
// | it under the terms of the GNU General Public License as published by |
@@ -22,7 +22,7 @@
2222
// | along with this program; if not, write to: |
2323
// | |
2424
// | Free Software Foundation, Inc. |
25-
// | 51 Franklin Street, Suite 330 |
25+
// | 51 Franklin Street, Suite 330 |
2626
// | Boston, MA 02110-1301, USA. |
2727
// +----------------------------------------------------------------------+
2828
// | Authors: João Prado Maia <[email protected]> |
@@ -114,7 +114,7 @@ function cvs_commit_info($argv)
114114
// user who is committing these changes
115115
$username = array_shift($argv);
116116

117-
if (count($argv) == 3) {
117+
if (count($argv) == 1) {
118118
$info = cvs_parse_info_1_11($argv);
119119
} else {
120120
$info = cvs_parse_info_1_12($argv);

0 commit comments

Comments
 (0)