Page MenuHomePhorge

D25089.1734996340.diff
No OneTemporary

D25089.1734996340.diff

diff --git a/src/applications/config/check/PhabricatorBinariesSetupCheck.php b/src/applications/config/check/PhabricatorBinariesSetupCheck.php
--- a/src/applications/config/check/PhabricatorBinariesSetupCheck.php
+++ b/src/applications/config/check/PhabricatorBinariesSetupCheck.php
@@ -104,7 +104,17 @@
switch ($vcs['versionControlSystem']) {
case PhabricatorRepositoryType::REPOSITORY_TYPE_GIT:
- $bad_versions = array();
+ $bad_versions = array(
+ // We need 2.5.0 to use "git cat-file -t -- <hash>:<file>"
+ // https://we.phorge.it/T15179
+ '< 2.5.0' => pht(
+ 'The minimum supported version of Git on the server is %s, '.
+ 'which was released in %s. In older versions, the Git server '.
+ 'may not be able to escape arguments with the "--" operator. '.
+ 'Note: your users do not require a particular version of Git.',
+ '2.5.0',
+ '2015'),
+ );
break;
case PhabricatorRepositoryType::REPOSITORY_TYPE_SVN:
$bad_versions = array(

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 23:25 (18 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027420
Default Alt Text
D25089.1734996340.diff (1 KB)

Event Timeline