Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git stash destroys hard links

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:52

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help