RE: [PATCH] D39737: [MC] Fix regression tests on Windows when git “core.autocrlf” is set to true

Zhen Cao via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 13:25:19 PST 2017


What about I add the following to the “Getting Started” section of the page (http://llvm.org/docs/GettingStartedVS.html)?

Note: some regression tests require Linux style line ending (\n). To pass all regression tests, please add the following two lines to “C:\Users\<username>\AppData\Roaming\Subversion\config”:

enable-auto-props = yes
* = svn:mime-type=application/octet-stream

From: Zachary Turner [mailto:zturner at google.com]
Sent: Wednesday, November 8, 2017 7:39 PM
To: reviews+D39737+public+a17c03644213de66 at reviews.llvm.org; Eli Friedman via Phabricator <reviews at reviews.llvm.org>
Cc: Zhen Cao <zhen.cao at autodesk.com>; rnk at google.com; grosbach at apple.com; bigcheesegs at gmail.com; javed.absar at arm.com; llvm-commits at lists.llvm.org
Subject: Re: [PATCH] D39737: [MC] Fix regression tests on Windows when git “core.autocrlf” is set to true

By “your git or svn client”, you mean everyone right (ie what I said earlier)? Because it’s not sufficient for Zhen just to fix this locally before pushing a patch
On Wed, Nov 8, 2017 at 4:09 PM Eli Friedman via Phabricator via llvm-commits <llvm-commits at lists.llvm.org<mailto:llvm-commits at lists.llvm.org>> wrote:
efriedma added a comment.

With svn, this is controlled by svn:eol-style and svn:mime-type.

That said, we don't have to worry about any of this if you just configure your git or svn client not to mess with line endings.


https://reviews.llvm.org/D39737<https://urldefense.proofpoint.com/v2/url?u=https-3A__reviews.llvm.org_D39737&d=DwMFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=5bO7zfHLitDTGEV53jsIoKY9YZM-dEXQXjvwmt4K1Xs&m=QiVMrF__xcFR41pB7Dx8zjHdggqK6rIFVvSD2-LR9I0&s=vHN0zUMQzdfO93b_VDKUuj20gOQSoAJjnZrQmzgP7kw&e=>



_______________________________________________
llvm-commits mailing list
llvm-commits at lists.llvm.org<mailto:llvm-commits at lists.llvm.org>
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.llvm.org_cgi-2Dbin_mailman_listinfo_llvm-2Dcommits&d=DwMFaQ&c=76Q6Tcqc-t2x0ciWn7KFdCiqt6IQ7a_IF9uzNzd_2pA&r=5bO7zfHLitDTGEV53jsIoKY9YZM-dEXQXjvwmt4K1Xs&m=QiVMrF__xcFR41pB7Dx8zjHdggqK6rIFVvSD2-LR9I0&s=dcj06dTL4nPn9WulSgRnOkVnF4IlLkhZLJPAlwnm49k&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171109/cc2662d6/attachment.html>


More information about the llvm-commits mailing list