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: Re: Minor doc improvement in nt/INSTALL.W64 Date: Mon, 19 Sep 2016 08:33:53 +0200 Message-ID: <86bmzkiejy.fsf@realize.ch> References: <8637lz44lu.fsf@realize.ch> <90f7882c-ec7d-fd71-cb87-b5c281f7e834@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474267661 18262 195.159.176.226 (19 Sep 2016 06:47:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2016 06:47:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) Cc: emacs-devel@gnu.org To: Nikolay Kudryavtsev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 19 08:47:36 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 1blsMX-0003sy-RS for ged-emacs-devel@m.gmane.org; Mon, 19 Sep 2016 08:47:33 +0200 Original-Received: from localhost ([::1]:53175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blsMW-0007D1-9i for ged-emacs-devel@m.gmane.org; Mon, 19 Sep 2016 02:47:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bls9x-0006iQ-Ez for emacs-devel@gnu.org; Mon, 19 Sep 2016 02:34:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bls9t-0001dE-2E for emacs-devel@gnu.org; Mon, 19 Sep 2016 02:34:33 -0400 Original-Received: from clientmail.realize.ch ([46.140.89.53]:4779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bls9s-0001ab-NT for emacs-devel@gnu.org; Mon, 19 Sep 2016 02:34:29 -0400 Original-Received: from rintintin.hq.realize.ch.lan.rit (Unknown [192.168.0.105]) by clientmail.realize.ch with ESMTP ; Mon, 19 Sep 2016 08:34:18 +0200 Original-Received: from MYNGB (192.168.250.224) by rintintin.hq.realize.ch.lan.rit (192.168.0.105) with Microsoft SMTP Server (TLS) id 15.0.516.32; Mon, 19 Sep 2016 08:33:52 +0200 In-Reply-To: <90f7882c-ec7d-fd71-cb87-b5c281f7e834@gmail.com> (Nikolay Kudryavtsev's message of "Mon, 19 Sep 2016 04:47:27 +0300") 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:207599 Archived-At: Nikolay Kudryavtsev writes: > I think you can just clone the repo and do: > > git config core.eol false > git config core.safecrlf false > git config core.autocrlf false > git rm --cached -r . > git reset --hard > > I tried repeating the issue, autogen.sh breaks on normal clone, this > fixes it like the current procedure, but this does not require cloning > again and does not touch the global git config. FWIW, `git clone --config ...' doesn't touch global git config either. This should be mentioned before a procedure like you propose, I think. That's what I tried to document with the patch in my previous message: https://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00416.html. I'm not even sure if the procedure of "how to fix an already checked out repository" should be part of this document. Maybe `git clone --config ...' should be the preferred choice over the option of altering the global git config? Alain