Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14050310
D16032.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1018 B
Referenced Files
None
Subscribers
None
D16032.diff
View Options
diff --git a/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php b/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
--- a/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
+++ b/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
@@ -261,13 +261,14 @@
"that many lines. For instance, a value of 100 means 'inline ".
"patches if they are no longer than 100 lines'. By default, ".
"patches are not inlined.")),
- // TODO: Implement 'enum'? Options are 'unified' or 'git'.
$this->newOption(
'metamta.differential.patch-format',
- 'string',
+ 'enum',
'unified')
->setDescription(
- pht("Format for inlined or attached patches: 'git' or 'unified'.")),
+ pht('Format for inlined or attached patches.'))
+ ->setEnumOptions(
+ array('unified' => 'unified', 'git' => 'git')),
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 5:50 PM (3 d, 11 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6730432
Default Alt Text
D16032.diff (1018 B)
Attached To
Mode
D16032: Modernize metamta.differential.patch-format
Attached
Detach File
Event Timeline
Log In to Comment