Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2698280
D25089.1734996340.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25089.1734996340.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25089: Add setup check to avoid git version 2.5.0 and below (May 2015)
Attached
Detach File
Event Timeline
Log In to Comment