From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: updating macuvs.h? Date: Wed, 14 Jan 2015 05:44:32 +0200 Message-ID: <83d26i3u1r.fsf@gnu.org> References: <85ioga75yl.fsf@stephe-leake.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421207078 25847 80.91.229.3 (14 Jan 2015 03:44:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2015 03:44:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 14 04:44:32 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YBEsi-0001am-7w for ged-emacs-devel@m.gmane.org; Wed, 14 Jan 2015 04:44:32 +0100 Original-Received: from localhost ([::1]:42556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBEsh-0004zK-8K for ged-emacs-devel@m.gmane.org; Tue, 13 Jan 2015 22:44:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBEsd-0004zD-8i for emacs-devel@gnu.org; Tue, 13 Jan 2015 22:44:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBEsZ-00082n-Sp for emacs-devel@gnu.org; Tue, 13 Jan 2015 22:44:27 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:37945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBEsZ-00082Z-Lj for emacs-devel@gnu.org; Tue, 13 Jan 2015 22:44:23 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NI500J00E5LI100@mtaout25.012.net.il> for emacs-devel@gnu.org; Wed, 14 Jan 2015 05:40:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NI500I2DE7CLG10@mtaout25.012.net.il>; Wed, 14 Jan 2015 05:40:24 +0200 (IST) In-reply-to: <85ioga75yl.fsf@stephe-leake.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181245 Archived-At: > From: Stephen Leake > Date: Tue, 13 Jan 2015 14:58:58 -0600 > > I just did 'git pull' on master, and recompiled, on Windows with msys2 > mingw64. Now git status shows 'src/macuvs.h' as changed. It has DOS line > endings instead of Unix; no other changes. This most probably means some of the tools involved in producing that file are not MSYS programs, but native Windows (MinGW) programs. MSYS programs behave Posix-like and produce Unix-style EOLs. Finds those tools and replace them by their MSYS namesakes, and the problem will go away. > I assume we only want Unix line endings committed to git? > > In which case, the makefile should run dos2unix (which is available in > mingw64). No, what you see shouldn't happen in the first place.