Lady [Sun, 5 Apr 2026 19:49:50 +0000 (15:49 -0400)]
Support Swift
The Swift compiler uses Git internally, and it breaks with the
modifications to Git provided by this repository.
So it is important to call it with the default implementation of Git,
which is achieved by resetting the `PATH´.
Lady [Sun, 5 Apr 2026 20:06:43 +0000 (16:06 -0400)]
Try to detect bare repositories with git
If a directory has a `refs´ subdirectory, it should be assumed that it
is a Git directory (either a bare one or a `.git´ directory in a
working tree).
These cases are now treated equivalently to those where a `.git´ file
or directory is present.
Ideally, this detection would walk the file tree upward (at least
until `${PSEUDDIR}´ is encountered).
But the current behaviour is good enough for the immediate usecases,
namely “updating git submodules” and “operating in bare git
directories”, which do not require further subdirectory support.
Lady [Sun, 5 Apr 2026 19:29:49 +0000 (15:29 -0400)]
Treat missing output files as empty in diffio
When writing new tests, it is handy to be able to just run `diffio´ to
see what will be outputted prior to saving it with
`do_OVERWRITE=1 testio´.
The previous behaviour of comparing exit status for missing output
files is simply not that useful here, since `testio´ is exactly as
usable for such things.