Steven Penny [off-list ref] writes:
I dont know if this is even fixable, but I wanted to at least mention it.
I do not think there is anything specific to stash. Whenever we write out
results of an operation to a file in the working tree, we first unlink(2)
and then creat(2), which essentially breaks hardlinked files and avoids
updating some _other_ paths that share the underlying file with the
updated path.