@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Modernize metamta.differential.patch-format

Summary: Change metamta.differential.patch-format over to an enum option now that they're implemented.

Test Plan: Looked at settings page.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D16032

authored by

Asher Baker and committed by
asherkin
3849a699 a34b769b

+4 -3
+4 -3
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
··· 261 261 "that many lines. For instance, a value of 100 means 'inline ". 262 262 "patches if they are no longer than 100 lines'. By default, ". 263 263 "patches are not inlined.")), 264 - // TODO: Implement 'enum'? Options are 'unified' or 'git'. 265 264 $this->newOption( 266 265 'metamta.differential.patch-format', 267 - 'string', 266 + 'enum', 268 267 'unified') 269 268 ->setDescription( 270 - pht("Format for inlined or attached patches: 'git' or 'unified'.")), 269 + pht('Format for inlined or attached patches.')) 270 + ->setEnumOptions( 271 + array('unified' => 'unified', 'git' => 'git')), 271 272 ); 272 273 } 273 274