Linus Torvalds [off-list ref] writes:
On Mon, 23 Jun 2008, Junio C Hamano wrote:
quoted
Hmm, we have quite a few calls to mkstemp(), so adding the workaround to
this specific call site does not scale well as a fix, I am afraid.
All other callers of mkstemp() always rewrite the _entire_ path and don't
care about the result after failure (since it failed)
Yeah, I realize I grepped wrong X-<.