unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alain Schneble <a.s@realize.ch>
To: <emacs-devel@gnu.org>
Subject: Minor doc improvement in nt/INSTALL.W64
Date: Sat, 20 Aug 2016 21:34:05 +0200	[thread overview]
Message-ID: <8637lz44lu.fsf@realize.ch> (raw)

[-- 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

             reply	other threads:[~2016-08-20 19:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-20 19:34 Alain Schneble [this message]
2016-09-19  1:47 ` Minor doc improvement in nt/INSTALL.W64 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8637lz44lu.fsf@realize.ch \
    --to=a.s@realize.ch \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).