]> khamidou — GitHub mirrors - arcanist.git/commit
Use "--whitespace nowarn" in `arc patch` to respect trailing whitespace
authorepriestley <git@epriestley.com>
Fri, 18 Dec 2015 00:16:05 +0000 (16:16 -0800)
committerepriestley <git@epriestley.com>
Fri, 18 Dec 2015 01:36:26 +0000 (17:36 -0800)
commit8762e3f36715875605a205326bee7bae1f7eb481
tree62145a3467547739c3f2bf0487a68c7754729865
parenta183c2c4ba5836628a6bf1285a7e9109d2866fde
Use "--whitespace nowarn" in `arc patch` to respect trailing whitespace

Summary: Fixes T10008. Git tries to fix some issues by default (apparently? empirically; not consistent with documentation, I think?), but patches from `arc patch` are "always" accurate (disregarding other bugs we might have -- basically, they haven't been emailed or copy/pasted or anything like that) so we can just tell it to apply the patch exactly as-is.

Test Plan: {F1029182}

Reviewers: chad, joshuaspence

Reviewed By: chad, joshuaspence

Maniphest Tasks: T10008

Differential Revision: https://secure.phabricator.com/D14816
src/workflow/ArcanistPatchWorkflow.php