Re: Git force push fails after a rejected push (unpack failed)?
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jul 8, 2015, 20:56 UTC
- Message-ID
- <559D8E77.60401@kdbg.org>
- In-Reply-To
- <20150708180539.GA12353@peff.net>
Am 08.07.2015 um 20:05 schrieb Jeff King:
> We also don't write objects directly, of course; we write to a temporary > file and try to link them into place. It really sounds more like the > "objects/d9" directory is where the permission problems are. But, hmm...
Not on Windows: A read-only file cannot be overwritten or removed, regardless of the permissions of the directory. We do treat this case mingw_rename, but I have a slight suspicion that this does not work sufficiently reliably on networked file systems.
-- Hannes