From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123923 invoked by alias); 8 Jun 2016 14:19:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 123907 invoked by uid 89); 8 Jun 2016 14:19:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*no X-HELO: ironport01.nordicsemi.no Received: from mail.nordicsemi.no (HELO ironport01.nordicsemi.no) (194.19.86.146) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Jun 2016 14:19:13 +0000 Received: from cas01.nordicsemi.no (HELO CAS01.nvlsi.no) ([192.9.200.217]) by ironport01.nordicsemi.no with ESMTP; 08 Jun 2016 16:19:11 +0200 Received: from MBX04.nvlsi.no ([fe80::6912:55af:448c:53f4]) by CAS01.nvlsi.no ([fe80::3dd1:adee:84bb:4a87%14]) with mapi id 14.03.0123.003; Wed, 8 Jun 2016 16:19:10 +0200 From: "Cufi, Carles" To: "cygwin@cygwin.com" , "kbrown@cornell.edu" Subject: Re: git 2.8.3 spurious output Date: Wed, 08 Jun 2016 14:19:00 -0000 Message-ID: <087DA9770269374FB58D517AC05CCA3F0174977E08@mbx04.nvlsi.no> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2016-06/txt/msg00108.txt.bz2 > On 6/8/2016 9:57 AM, Cufi, Carles wrote: > Hi there, >=20 > On 6/8/2016 5:35 AM, Cufi, Carles wrote: > Hi, >=20 > When running git 2.8.3 with certain of its commands (submodule for > example) I get spurious output on the terminal: >=20 > cacu ~/src/nordic/gh/pc-ble-driver-py (master) $ git submodule deinit . > ': not a valid identifiertext.sh: line 88: export: `displaypath Cleared > directory '' > ': not a valid identifiertext.sh: line 88: export: `name > ': not a valid identifiertext.sh: line 88: export: `url > ': not a valid identifiertext.sh: line 88: export: `displaypath > Submodule '' () unregistered for path '' >=20 > The variables referenced above (displaypath, name, url) seem to be part > of the git-submodule script in /usr/libexec/git-core. >=20 > It looks like output lines are being overwritten, which suggests that > you have DOS line endings somewhere (maybe in git-submodule?). For > example, there seems to be a reference to line 88 of gettext.sh, > partially overwritten by something else. (Notice that git-submodule > calls eval_gettext many times; the latter is defined in > /usr/bin/gettext.sh.) >=20 > That's one of the first thing I tried, I ran: >=20 > $ dos2unix /usr/libexec/git-core/git-submodule >=20 > But the spurious output is still there. >=20 > There doesn't seem to be a /usr/bin/gettext.sh in my Cygwin > installation. >=20 > I see that you have some msys stuff in your path. Do you have gettext.sh > there? ('which gettext.sh' should find it.) Yep, that's it! $ which gettext.sh /cygdrive/c/mingw/bin/gettext.sh So what's the better way of fixing this? Making /mingw/bin/gettext.sh have = UNIX line endings or replacing it with the proper Cygwin gettext.sh that I = seem to be missing? Thanks! Carles -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple