X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=FKdTh6GZ3kCzSf3u
	9addje6KqV/HweBE2TIFS09puDW1O9PyO1NPybosvIQO48Kovy1rzdGHbSGOPPgN
	cM3rC7Ug0/o9zCOe92UAKOfyl2/K9DHBeHEEWd5wAPMFwzel3uFu6wYRMoCdUOqL
	F8jcWamv56DcxRA3icgJoYENlDA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=DfgXCmRCeRASVft37Ihc9P
	Vylyw=; b=Xn1IbvYNp9r3sDJZt97mdNoWyYQIDqZBXLmNDDMSYitsY5WwxXi1l9
	iMcDOUPiPXkjbdnZDlMMOII1nbULgOGed5/DhYB6YBmth8mOMEJCCc5Z3UiRHS+q
	ejWFknlu3hDt/M145FKqBnkPnZz3hXcWkB1z8h275iB3QyfdkXf/0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
X-CornellRouted: This message has been Routed already.
Subject: Re: git 2.8.3 spurious output
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <087DA9770269374FB58D517AC05CCA3F0174977DAF@mbx04.nvlsi.no>
From: Ken Brown <kbrown@cornell.edu>
Message-ID: <47c82fef-8966-5062-4bf2-27f4d3cacbc5@cornell.edu>
Date: Wed, 8 Jun 2016 10:05:59 -0400
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

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

