Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH 0/3] Fixing volatile HEAD in push.default = current

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:57:24

Junio C Hamano wrote:
The patch may have been done by a wrong motivation, in that it does
not fundamentally "fix" the itch.  The particular "itch" is not
something we are going to promise to the end users, ever, anyway.
Just out of curiosity, is it possible to write a correct fix at all?
Even if the first statement in do_push() locks the HEAD ref, it's not
enough: the program may be wading around in git.c/setup.c when I
switch terminals and change HEAD, right?

So, our position on the matter is: no git command makes any guarantees
with respect to races, correct?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help