git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e89794
)
support git RC versions
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 30 Apr 2014 17:19:06 +0000
(19:19 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 30 Apr 2014 17:19:06 +0000
(19:19 +0200)
src/phorkie/SetupCheck.php
patch
|
blob
|
history
diff --git
a/src/phorkie/SetupCheck.php
b/src/phorkie/SetupCheck.php
index 5eae1f39f9a528a766a508db5b109fd5b4ed8909..16631db673e2c75e5096b39cfb5fe204ad0062a7 100644
(file)
--- a/
src/phorkie/SetupCheck.php
+++ b/
src/phorkie/SetupCheck.php
@@
-77,7
+77,7
@@
class SetupCheck
if ($retval !== 0) {
$this->fail('Running git executable failed.');
}
- if (!preg_match('#^git version ([0-9.]+)$#', $line, $matches)) {
+ if (!preg_match('#^git version ([0-9.]+
(rc[0-9]+)?
)$#', $line, $matches)) {
$this->fail('git version output format unexpected: ' . $line);
}
if (version_compare($matches[1], '1.7.5') < 0) {