Re: [PATCH 2/5] t5303: test some corrupt deltas
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 31, 2018, 15:33 UTC
- Message-ID
- <xmqqh8ja360p.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.1808311155410.71@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>> Would "echo base >base" give us 5-byte long base even on Windows? > > Please note that Unix shell scripting is a foreign thing on Windows. As > such, there is not really any "native" shell we can use [*1*], and
Yeah, I know that; otherwise I wouldn't have asked. Because ...
> therefore we use MSYS2's Bash which outputs Unix line endings.
... I didn't know what MSYS folks chose, and/or if you have chosen to tweak their choice, and/or if you switched to somebody else's shell (e.g. busybox) and/or you chose to tweak what they do out of the box, it was worth asking and getting yes/no question. You do not have to tell me why I should be asking.
So instead of typing 3 lines, you can just say "yes we use echo that emulates Unix".
Thanks.