From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25100 invoked by alias); 8 Jun 2016 14:06:15 -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 25090 invoked by uid 89); 8 Jun 2016 14:06:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1510, H*M:8966 X-HELO: limerock03.mail.cornell.edu Received: from limerock03.mail.cornell.edu (HELO limerock03.mail.cornell.edu) (128.84.13.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Jun 2016 14:06:04 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock03.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u58E62sF004323 for ; Wed, 8 Jun 2016 10:06:02 -0400 Received: from [192.168.1.3] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u58E615U008155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 8 Jun 2016 10:06:02 -0400 Subject: Re: git 2.8.3 spurious output To: "cygwin@cygwin.com" References: <087DA9770269374FB58D517AC05CCA3F0174977DAF@mbx04.nvlsi.no> From: Ken Brown Message-ID: <47c82fef-8966-5062-4bf2-27f4d3cacbc5@cornell.edu> Date: Wed, 08 Jun 2016 14:06:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <087DA9770269374FB58D517AC05CCA3F0174977DAF@mbx04.nvlsi.no> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00107.txt.bz2 On 6/8/2016 9:57 AM, Cufi, Carles wrote: > Hi there, > >> On 6/8/2016 5:35 AM, Cufi, Carles wrote: >> Hi, >> >> When running git 2.8.3 with certain of its commands (submodule for >> example) I get spurious output on the terminal: >> >> 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 '' >> >> The variables referenced above (displaypath, name, url) seem to be part >> of the git-submodule script in /usr/libexec/git-core. >> >> 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.) > > That's one of the first thing I tried, I ran: > > $ dos2unix /usr/libexec/git-core/git-submodule > > But the spurious output is still there. > > There doesn't seem to be a /usr/bin/gettext.sh in my Cygwin installation. I see that you have some msys stuff in your path. Do you have gettext.sh there? ('which gettext.sh' should find it.) Ken -- 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