From 1ac919c29c3af5dd00d483ddbc869112fdb04c5c Mon Sep 17 00:00:00 2001 From: Ray Lillywhite Date: Tue, 29 Sep 2015 14:14:31 -0700 Subject: [PATCH] Improved example setting for differential.generated-paths Summary: This is to make it more obvious how to ignore a folder that may be at the root, and it resolves https://secure.phabricator.com/T8894 Test Plan: Just a documentation change Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, nornagon Differential Revision: https://secure.phabricator.com/D14193 --- .../config/PhabricatorDifferentialConfigOptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php b/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php index 7d0eae99c2..a2bb63a2a2 100644 --- a/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php +++ b/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php @@ -133,7 +133,7 @@ final class PhabricatorDifferentialConfigOptions 'to affect existing revisions. For instructions, see '. '**[[ %s | Managing Caches ]]** in the documentation.', $caches_href)) - ->addExample("/config\.h$/\n#/autobuilt/#", pht('Valid Setting')), + ->addExample("/config\.h$/\n#(^|/)autobuilt/#", pht('Valid Setting')), $this->newOption('differential.sticky-accept', 'bool', true) ->setBoolOptions( array(