Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: failed to lock · Junio C Hamano <hidden> · 2016-06-15

Re: failed to lock

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:39

Jay Soffian [off-list ref] writes:
So it seems safer to me that the destination should ignore duplicates
in the received list.
We probably need it on both ends.

On the receiving end, it probably is a better idea to make verify_lock()
succeed if the ref has already been updated to the value we are going to
update with, as I suspect that the issue is not limited to receive-pack.
It needs some restructuring of lock/verify/commit primitives, though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help