Re: [PATCH 05/10] t0301: another fix for Windows compatibility
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 2, 2025, 11:14 UTC
- Message-ID
- <8129143e-79fb-cadc-8f88-9c8daa73c317@gmx.de>
- In-Reply-To
- <xmqqfr9t8flg.fsf@gitster.g>
Hi Junio,
On Tue, 2 Dec 2025, Junio C Hamano wrote:
Show 13 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > >> In any case, a more productive than rethinking the "can we express > >> what mkdir -m <mode>, which is a construct in a simpler world, wants > >> to do in terms of a much more powerful permission system?" would be > >> to see if the test linter can be taught about this particular rule. > > > > Seeing that this issue had to be fixed twice within the course of over 4 > > years, https://xkcd.com/1205/ applies. > > It means that we are punting and are not proactively helping future > developers who may make the same mistake, but we expect it would be > rather rare so I am OK with us making that trade-off.
Good, then we're on the same page regarding this approach.
> But then can you dial back your condescending tone against those who are > not as familiar as glitches in the Windows port of POSIX shell > environment we use for tests?
Please don't read more into my words than merely a large frustration with the state of Git's test suite. It might be mostly conforming to the 80 character per line convention, yet I yearn instead for the same speed, readability, portability and debuggability that I've encountered in other projects' test suites.
Ciao, Johannes