* Atomicity of git-push operation.
@ 2009-12-23 11:51 Jan Zalcman
2009-12-23 15:25 ` Shawn O. Pearce
0 siblings, 1 reply; 2+ messages in thread
From: Jan Zalcman @ 2009-12-23 11:51 UTC (permalink / raw)
To: git
Hi,
I have a simple question about "push" operation but I couldn't find an
answer: is git-push (also with --tags flag) atomic ? Especially: if refs
changing (during push) is atomic ?
Thanks,
Janek
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Atomicity of git-push operation.
2009-12-23 11:51 Atomicity of git-push operation Jan Zalcman
@ 2009-12-23 15:25 ` Shawn O. Pearce
0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2009-12-23 15:25 UTC (permalink / raw)
To: Jan Zalcman; +Cc: git
Jan Zalcman <zalcman@9livesdata.com> wrote:
> I have a simple question about "push" operation but I couldn't find an
> answer: is git-push (also with --tags flag) atomic ? Especially: if refs
> changing (during push) is atomic ?
Yes, its atomic, at the per-ref level.
If you push 3 refs, and one of them updates during the push, the
other two will push successfully, but the one that was updated will
be rejected.
--
Shawn.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-23 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23 11:51 Atomicity of git-push operation Jan Zalcman
2009-12-23 15:25 ` Shawn O. Pearce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).