From: Jacob Keller Date: Mon, 24 Aug 2020 19:26:19 GMT Subject: Re: [RFC v2 1/1] refspec: add support for negative refspecs Message-ID: In-Reply-To: On Mon, Aug 24, 2020 at 10:55 AM Junio C Hamano wrote: > > Johannes Schindelin writes: > > > The `?:` operator is not supported e.g. by Visual C. Let's not use it. > > Thanks. IIRC that was GNU extension? > Yea, probably. From wikipedia, [1], "In GNU C and C++ (that is: in C and C++ with GCC extensions), the second operand of the ternary operator is optional. This has been the case since at least GCC 2.95.3 (March 2001), and seems to the original elvis operator." Thanks, Jake [1] https://en.wikipedia.org/wiki/Elvis_operator