Files
git/compat
David Lomas 00801b0876 mingw: work around rename() failing on a read-only file
At least on _some_ APFS network shares, Git fails to rename the object
files because they are marked as read-only, because that has the effect
of setting the uchg flag on APFS, which then means the file can't be
renamed or deleted.

To work around that, when a rename failed, and the read-only flag is
set, try to turn it off and on again.

This fixes https://github.com/git-for-windows/git/issues/4482

Signed-off-by: David Lomas <dl3@pale-eds.co.uk>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
2023-11-20 18:02:34 +01:00
..
2022-05-02 09:50:37 -07:00
2022-05-02 09:50:37 -07:00
2021-02-26 14:15:51 -08:00
2021-10-29 15:00:58 -07:00