From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 2CB9D3857C46 for ; Tue, 10 Nov 2020 12:57:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2CB9D3857C46 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinwoodie.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adam@dinwoodie.org Received: by mail-ot1-x335.google.com with SMTP id g19so12337111otp.13 for ; Tue, 10 Nov 2020 04:57:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dinwoodie.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=x1U/2jmjCQP1Ys5xK6iMrwmLMd0MRR0cPGH4TpiKh0Y=; b=VCD12vLcr6qWrbTWHJXlYfo6Nd5+mqA/IcmqWbwxYgyX6GIa6Cgj+mR2QZuHX3oBNi D8SUNtZEFXDlYgdItq/saeIjiekYKufZA4h0R5VGJXKhZAdvjn3PCDR2byR7cJ5B3y1v CwvVNp7CD8Ywu5jVB3YBpuU+J/HodZXVmZoQI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=x1U/2jmjCQP1Ys5xK6iMrwmLMd0MRR0cPGH4TpiKh0Y=; b=fBu6qHXZrZP6YzKFsM53pQW2v/P5f0W02CfIu9cbg2DpHNKHAvVATukRxvIRYeeAe4 ghtcCVd/aU4K198J7hJxpGBZV0JoyxDmSno5UEXs1DZUXahZGBjACHeCikM6w1e+o2Iw jnrbQL3JYbCyfbisWPqApX7adbxkjjQ6D+ekQbYOl80OG/VIRZqz5umwzcPnRi57a78/ 75mnhbc3UgSW04tlCp7Kg0o+bep2UAaf4vwuUwwHqA1UDwUGVM7fXt2/NtlSJeD0ATgZ L3fiAfaWF3nBsgU2cQxERkVa0lQ5Jl/HdCXOes9TEqxyZynY5rJ4oEsJjLSyA9m2ywui nmHg== X-Gm-Message-State: AOAM530XVJgkbsxlh+cz//BTWotnfFT2uvZ02P3N962dDyqTj+ZWpakd Ck2NsL1ibUOR7YLMA3jhXiAPP3AEUdpJsv7Wt7qGWF/h6V/ttQ== X-Google-Smtp-Source: ABdhPJzawGJg6b0K9OcJ2VxnPuxLjLH2tqOiimN5g1Oqq35aAQUh1nVfbLGgbvz81J02m6lGQ3Xe6HQa6diNjWLtKdM= X-Received: by 2002:a05:6830:1d8f:: with SMTP id y15mr13626595oti.332.1605013032142; Tue, 10 Nov 2020 04:57:12 -0800 (PST) MIME-Version: 1.0 References: <7f84cfbe25454067bc2841a83306f7de@BELBRU-EXMP101.eeas.europa.eu> <72f4f32d00e44071afbaa74b6b77ebad@BELBRU-EXMP101.eeas.europa.eu> In-Reply-To: <72f4f32d00e44071afbaa74b6b77ebad@BELBRU-EXMP101.eeas.europa.eu> From: Adam Dinwoodie Date: Tue, 10 Nov 2020 12:56:36 +0000 Message-ID: Subject: Re: Git shows nothing in cmd.exe To: "cygwin@cygwin.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2020 12:57:14 -0000 On Tue, 10 Nov 2020 at 12:19, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > > > -----Original Message----- > > From: Cygwin On Behalf Of Adam > > Dinwoodie > > Sent: 10 November 2020 13:04 > > Subject: Re: Git shows nothing in cmd.exe > > > > On Tue, 10 Nov 2020 at 10:35, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > > > Hello, > > > > > > I would like to report an issue with git. The following command: > > > > > > $ git branch -a > > > * master > > > remotes/origin/master > > > > > > works fine under Cygwin terminal, but it displays nothing under > > > cmd.exe. We are using > > > > > > git version 2.21.0 > > > > > > and > > > > > > CYGWIN_NT-10.0 XXX 3.1.4(0.340/5/3) 2020-02-19 08:49 x86_64 Cygwin > > > > > > The "set CYGWIN=3Ddisable_pcon" in the cmd.exe didn't help. > > > > Can you please provide the output from running `where.exe git` in a cmd= .exe > > session, as well as the diagnostics requested in the problem reporting > > guidelines below? > > Sure, the command shows the following: > > C:\>where.exe git > C:\Program Files\Cygwin\bin\git.exe > C:\Program Files\Git\cmd\git.exe > > Of course the Git for Windows installed is not affected by that issue. It= works also fine under cmd.exe. > > > > Problem reports: https://cygwin.com/problems.html > > > > Given that, we'll be able to help work out what's going wrong for you. > > I apologise for forgetting that. I have included it in my present e-mail. > > > For what it's worth, having just checked, running Cygwin Git from a cmd= .exe > > shell works as expected for me. > > OK, thanks. It's good to know that Adam. So it is possibly something in o= ur configuration or BLODA. Thoughts below partly for my own reference, and partly in case anyone else =E2=80=93 including but not limited to Panos! =E2=80=93 manages to tak= e things further before I do. I can't see anything obviously wrong here. There's two key oddities that might be causing problems, though: - Cygwin is installed in `C:\Program Files\Cygwin`; that _should_ work, but it's atypical, and spaces in filenames are a common source of problems. - This is a relatively old installation; I've not checked anything else, but Cygwin Git v2.21.0-1 was released in May 2019 and there have been a bunch of updates since then. I can't remember anything with these symptoms from that time, however. I'm also curious about the Git configuration here, as I can see a bunch of ways that could cause problems. I don't have the Cygwin bin directory in my path to test this immediately, but for example `git branch -a` will try to call a pager =E2=80=93 `less` by default` =E2=80=93 = so I could imagine there being a PATH problem or similar that's resulting in a duff pager call that's eating the output.