Re: Git push race condition?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 24, 2014, 19:44 UTC
- Message-ID
- <vpq61n3bcve.fsf@anie.imag.fr>
- In-Reply-To
- <CAAyEjTN53+5B9Od9wW698wODNL3hR6Upot8-ZLwEksn3ir_zjA@mail.gmail.com>
Scott Sandler <scott.m.sandler@gmail.com> writes:
> Both pushes are > determined to be fast-forwards and both succeed, but B' overwrites B > and B is no longer on origin/master. The server does have B in its > .git directory but the commit isn't on any branch.
Is the reflog enabled on the server? If so, does it say anything about B and B'?
What filesystem do you use on the server? Is there any kind of NFS, and if so are you sure that there's only one machine accessing the filesystem at the same time?
-- Matthieu Moy http://www-verimag.imag.fr/~moy/