From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21789: 25.0.50; Can' build Emacs (my first build since GIT migration) Date: Sat, 31 Oct 2015 15:42:09 +0200 Message-ID: <83y4ejxiha.fsf@gnu.org> References: <84611ozi6c.fsf@gmail.com> <8337ws1n6x.fsf@gnu.org> <83lhakyu71.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1446299012 10613 80.91.229.3 (31 Oct 2015 13:43:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Oct 2015 13:43:32 +0000 (UTC) Cc: 21789@debbugs.gnu.org To: Vincent =?UTF-8?Q?Bela=C3=AFche?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 31 14:43:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZsWR7-0006dW-J4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2015 14:43:13 +0100 Original-Received: from localhost ([::1]:55740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsWR6-0000gs-V1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2015 09:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsWR3-0000ga-9L for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2015 09:43:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsWQz-00020J-VK for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2015 09:43:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsWQz-0001zr-Qd for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2015 09:43:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZsWQy-0004lD-Mb for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2015 09:43:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2015 13:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21789-submit@debbugs.gnu.org id=B21789.144629893218230 (code B ref 21789); Sat, 31 Oct 2015 13:43:03 +0000 Original-Received: (at 21789) by debbugs.gnu.org; 31 Oct 2015 13:42:12 +0000 Original-Received: from localhost ([127.0.0.1]:46801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsWQ6-0004jx-Sq for submit@debbugs.gnu.org; Sat, 31 Oct 2015 09:42:11 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37064) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsWQ1-0004jj-6S for 21789@debbugs.gnu.org; Sat, 31 Oct 2015 09:42:06 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NX30050076CWE00@a-mtaout22.012.net.il> for 21789@debbugs.gnu.org; Sat, 31 Oct 2015 15:42:02 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NX30059M7E2O260@a-mtaout22.012.net.il>; Sat, 31 Oct 2015 15:42:02 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108235 Archived-At: > From: Vincent Belaïche > CC: "21789@debbugs.gnu.org" <21789@debbugs.gnu.org> > Date: Sat, 31 Oct 2015 14:26:41 +0100 > > > Instead, remove the Git repository, re-install Git as instructed in > > nt/INSTALL, then re-clone the repository again. > > Ok, I will do that. It surprises me that you need to tamper with the git > system setting that affect all the projects using git, just for the sake > of one project. It's not for the sake of one project. Installing Git as I indicated is the only sensible thing for _any_ project. For some reason, Git for Windows doesn't have that as default; moreover, in the past I remember some people arguing with me that what I suggest is actually wrong (I disagree with their arguments). I would encourage you to report this to the msysGit project as a bug. > I am using git also for fmtcount and I have some changes > pending, so I think that I will have to restore the original system > settings when I come back to fmtcount. That is not a very practical > solution. The setting is on ~/.gitconfig and can be overridden by the project-local .git/config file, if you need. But my recommendation is to switch all your Git-based projects to this default. Otherwise, if the project has files that need special EOL format, you will get in trouble. > I am quite novice with git, but just wondering whether it isn't possible > to get the same effect with affecting emacs only by writing in the local > config file (emacs/.git/config) some setting that would supersede the > global and system settings, e.g. you would have > > [core] > autocrlf = > > in the local config. It's possible, yes. Just make sure you have neither autocrlf nor eol settings in your .git/config file, in the [core] section. Once again, using anything else in other projects is just waiting for trouble, so I really recommend this as a global setting.