Differential D15886 Diff 38266 src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
Show First 20 Lines • Show All 281 Lines • ▼ Show 20 Lines | return array( | ||||
"patches are not inlined.")), | "patches are not inlined.")), | ||||
// TODO: Implement 'enum'? Options are 'unified' or 'git'. | // TODO: Implement 'enum'? Options are 'unified' or 'git'. | ||||
$this->newOption( | $this->newOption( | ||||
'metamta.differential.patch-format', | 'metamta.differential.patch-format', | ||||
'string', | 'string', | ||||
'unified') | 'unified') | ||||
->setDescription( | ->setDescription( | ||||
pht("Format for inlined or attached patches: 'git' or 'unified'.")), | pht("Format for inlined or attached patches: 'git' or 'unified'.")), | ||||
$this->newOption( | |||||
'metamta.differential.unified-comment-context', | |||||
'bool', | |||||
false) | |||||
->setBoolOptions( | |||||
array( | |||||
pht('Show context'), | |||||
pht('Do not show context'), | |||||
)) | |||||
->setSummary(pht('Show diff context around inline comments in email.')) | |||||
->setDescription( | |||||
pht( | |||||
'Normally, inline comments in emails are shown with a file and '. | |||||
'line but without any diff context. Enabling this option adds '. | |||||
'diff context and the comment thread.')), | |||||
); | ); | ||||
} | } | ||||
} | } |