1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 04:20:55 +01:00

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
This commit is contained in:
epriestley 2011-05-05 07:14:45 -07:00
parent 7eefbfaa51
commit 85b09c5ccb

View file

@ -161,7 +161,7 @@ class DifferentialRevisionViewController extends DifferentialController {
$whitespace = $request->getStr( $whitespace = $request->getStr(
'whitespace', 'whitespace',
DifferentialChangesetParser::WHITESPACE_IGNORE_TRAILING DifferentialChangesetParser::WHITESPACE_IGNORE_ALL
); );
$revision_detail->setActions($actions); $revision_detail->setActions($actions);