unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Minor doc improvement in nt/INSTALL.W64
@ 2016-08-20 19:34 Alain Schneble
  2016-09-19  1:47 ` Nikolay Kudryavtsev
  0 siblings, 1 reply; 6+ messages in thread
From: Alain Schneble @ 2016-08-20 19:34 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

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:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Doc improvement in nt/INSTALL.W64 --]
[-- Type: text/x-patch, Size: 1000 bytes --]

From dd2f6178176a78d4440776addb68c842a7be58dc Mon Sep 17 00:00:00 2001
From: Alain Schneble <a.s@realize.ch>
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


[-- Attachment #3: Type: text/plain, Size: 30 bytes --]


Do you agree?

Thanks,
Alain

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-29  9:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-20 19:34 Minor doc improvement in nt/INSTALL.W64 Alain Schneble
2016-09-19  1:47 ` Nikolay Kudryavtsev
2016-09-19  6:33   ` Alain Schneble
2016-09-19 11:06     ` Nikolay Kudryavtsev
2016-09-19 16:41   ` Eli Zaretskii
2016-09-29  9:17     ` Nikolay Kudryavtsev

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).