X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EAAF2398305F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ext.eeas.europa.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Panagiotis DOT KAVALAGIOS AT ext DOT eeas DOT europa DOT eu From: "KAVALAGIOS Panagiotis (EEAS-EXT)" To: Adam Dinwoodie , "cygwin AT cygwin DOT com" Subject: RE: Git shows nothing in cmd.exe Thread-Topic: Git shows nothing in cmd.exe Thread-Index: Ada3TCy+vSq+kat/RBCRFWFBd6fNcgABPuKAAAJeR6D///vRAP//5gYQ Date: Tue, 10 Nov 2020 13:35:17 +0000 Message-ID: References: <7f84cfbe25454067bc2841a83306f7de AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu> <72f4f32d00e44071afbaa74b6b77ebad AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu> In-Reply-To: Accept-Language: en-GB, el-GR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.51.5.118] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-10_05:2020-11-10, 2020-11-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 clxscore=1015 lowpriorityscore=0 spamscore=0 malwarescore=0 bulkscore=0 phishscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 impostorscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011100096 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0AADZp2b031261 > From: Cygwin On Behalf Of Adam > Dinwoodie > Sent: 10 November 2020 13:57 > Subject: Re: Git shows nothing in cmd.exe > > Thoughts below partly for my own reference, and partly in case anyone else > – including but not limited to Panos! – manages to take 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 > – `less` by default` – so I could imagine there being a PATH problem or similar > that's resulting in a duff pager call that's eating the output. Adam, thank you very much! You found our issue. It is the "less" command from GnuWin32 that caused the problem: C:\>where less C:\Program Files (x86)\GnuWin32\bin\less.exe C:\Program Files\Cygwin\bin\less.exe C:\>rename "C:\Program Files (x86)\GnuWin32\bin\less.exe" less-OLD.exe C:\>cd dev\Projects\TSSO_WKS\tsso-workstation-configuration C:\DEV\Projects\TSSO_WKS\tsso-workstation-configuration>git branch -a * master remotes/origin/master It now displays correctly the branches. Panos -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple