From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alain Schneble Newsgroups: gmane.emacs.devel Subject: Minor doc improvement in nt/INSTALL.W64 Date: Sat, 20 Aug 2016 21:34:05 +0200 Message-ID: <8637lz44lu.fsf@realize.ch> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1471725360 25654 195.159.176.226 (20 Aug 2016 20:36:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Aug 2016 20:36:00 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 20 22:35:57 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bbCzk-0006Wn-M7 for ged-emacs-devel@m.gmane.org; Sat, 20 Aug 2016 22:35:56 +0200 Original-Received: from localhost ([::1]:34286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbCzg-0004tt-Vt for ged-emacs-devel@m.gmane.org; Sat, 20 Aug 2016 16:35:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbCzA-0004tn-Co for emacs-devel@gnu.org; Sat, 20 Aug 2016 16:35:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbCz6-0003RN-4Q for emacs-devel@gnu.org; Sat, 20 Aug 2016 16:35:19 -0400 Original-Received: from clientmail.realize.ch ([46.140.89.53]:1783) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1bbCz5-0003R7-Oe for emacs-devel@gnu.org; Sat, 20 Aug 2016 16:35:16 -0400 Original-Received: from rintintin.hq.realize.ch.lan.rit ([192.168.0.105]) by clientmail.realize.ch ; Sat, 20 Aug 2016 21:34:43 +0200 Original-Received: from MYNGB (192.168.66.64) by rintintin.hq.realize.ch.lan.rit (192.168.0.105) with Microsoft SMTP Server (TLS) id 15.0.516.32; Sat, 20 Aug 2016 21:34:03 +0200 X-ClientProxiedBy: rintintin.hq.realize.ch.lan.rit (192.168.0.105) To rintintin.hq.realize.ch.lan.rit (192.168.0.105) X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-Received-From: 46.140.89.53 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206710 Archived-At: --=-=-= Content-Type: text/plain Hello Once again, I stumbled across the newline issue when running autogen.sh on MS Windows, caused by a wrong GIT/core.autocrlf setting. In this regard, I think it would be worth to refine a passage in nt/INSTALL.W64 as follows: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename="0001-Refine-comment-on-GIT-core.autocrlf-in-nt-INSTALL.W6.patch" Content-Description: Doc improvement in nt/INSTALL.W64 >From dd2f6178176a78d4440776addb68c842a7be58dc Mon Sep 17 00:00:00 2001 From: Alain Schneble Date: Sat, 20 Aug 2016 21:01:04 +0200 Subject: [PATCH] Refine comment on GIT core.autocrlf in nt/INSTALL.W64 --- nt/INSTALL.W64 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nt/INSTALL.W64 b/nt/INSTALL.W64 index e109c6f..970bb20 100644 --- a/nt/INSTALL.W64 +++ b/nt/INSTALL.W64 @@ -85,7 +85,14 @@ in your MSYS2 environment with: The autocrlf feature of Git may interfere with the configure file, so it is best to disable this feature by running the command: - git config core.autocrlf false + git config --global core.autocrlf false + +The --global (or --system) option is required as the configuration +variable must be set before cloning the GIT repository. +Alternatively, to use a repository-local variable, specify --config +option to git clone: + + git clone --config core.autocrlf=false ... * Get the Emacs source code -- 2.8.1.windows.1 --=-=-= Content-Type: text/plain Do you agree? Thanks, Alain --=-=-=--