From 85b09c5ccb286d44a79c46ce99400f67e4d19817 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 5 May 2011 07:14:45 -0700 Subject: [PATCH] Make "Ignore All" the default whitespace mode Summary: This mode was fixed in D174 by grglr and is the best mode for almost all changes once nonbroken, so make it the default. This is also the mode which takes advantage of the render cache. Test Plan: Loaded a revision, got "Ignore All" as the default mode, and revision rendering wasn't silly/broken. Reviewed By: tuomaspelkonen Reviewers: grglr, jungejason, tuomaspelkonen, aran CC: aran, tuomaspelkonen Differential Revision: 229 --- .../revisionview/DifferentialRevisionViewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php b/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php index b9398934d2..f47a4e4319 100644 --- a/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php +++ b/src/applications/differential/controller/revisionview/DifferentialRevisionViewController.php @@ -161,7 +161,7 @@ class DifferentialRevisionViewController extends DifferentialController { $whitespace = $request->getStr( 'whitespace', - DifferentialChangesetParser::WHITESPACE_IGNORE_TRAILING + DifferentialChangesetParser::WHITESPACE_IGNORE_ALL ); $revision_detail->setActions($actions);