Page MenuHomePhabricator

D16032.diff
No OneTemporary

D16032.diff

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

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)

Event Timeline