Re: Atomicity of git-push operation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Zalcman <zalcman@xxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]