diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/phorkie/SetupCheck.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phorkie/SetupCheck.php b/src/phorkie/SetupCheck.php index 5eae1f3..16631db 100644 --- 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) { |
