delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/17/09:48:57

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=jxyVAoKbbs7qIB1TXerNJEx46OkEmQASIs5HrZkMj272F4gaN2dH0
xoc1hcoqree6jWF+MlsM4YOQcLybvKBwG1jWOsXKm1hLYlyW8jhEfisupUhtBBYD
pBHazrs0fkZ/up94hryENOgToxG10j933EIK4VV33EMDsOs+BGP+v4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=16zPyxwGOcUZd6tqJpwy/WROS3U=; b=yOz2/F4FTCr+bBUSr4sbhIeKqE2U
XznBJvLrySKXeNYYd/GjBoS12buhB4802z3xg2E7fzCdABnT6RWlYDI+cmAckyH4
r3Pnvhi3aC39cUmyuBAm6tlXdWyymCNzuq8oC3eBHuTGn4jqTU8r33q7h6XouDmq
L1HsJ77MUw5nx9w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 17 Mar 2015 14:48:35 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: git fails to push
Message-ID: <20150317134835.GS6096@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5502264B DOT 3050803 AT lysator DOT liu DOT se> <C31449BA-B14C-4047-981B-6980AB755309 AT etr-usa DOT com> <5508284B DOT 1040304 AT lysator DOT liu DOT se>
MIME-Version: 1.0
In-Reply-To: <5508284B.1040304@lysator.liu.se>
User-Agent: Mutt/1.5.23 (2014-03-12)

--i13qRg9tmWEwo36p
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 17 14:12, Peter Rosin wrote:
> On 2015-03-16 22:45, Warren Young wrote:
> > On Mar 12, 2015, at 5:50 PM, Peter Rosin <peda AT lysator DOT liu DOT se> wrote:
> >>
> >> To file:///cygdrive/x/some path/with spaces/repo.git
> >=20
> > You shouldn=E2=80=99t be doing anything shared-database-like to a netwo=
rk drive.  Network file sharing protocols typically either A) do not do loc=
king correctly, or B) they run slow as molasses in order to provide proper =
locking semantics.  Since almost no one is willing to accept option B), you=
 usually get option A).
>=20
> Even if you claim that I shouldn't do something and then list a couple
> of reasons for that, you have no way of knowing if these reasons apply
> or if the alternative is even worse.
>=20
> I am the only person who has ever pushed to the repo in question.
> Speed is not an issue, I push fairly seldom. The code base is stable.
>=20
> > I think if you set Git up on the server using one of the supported serv=
er protocols [*] your problem will go away.
>=20
> You almost make it sound like file:// isn't a supported server protocol.
> Isn't it? If not, why is it listed under "Git on the Server" and why
> is NFS mounts mentioned?

Are you using NFS?  I encounter problems with NFS, too, once in a while.
I even added some workarounds in Cygwin at one point.  For instance, if
you append data to a file and then, with still open file descriptor,
call fstat, the file size will reflect the size before the append.  The
MS NFS is not very reliable in keeping up with changes to metadata.  A
change in Cygwin actually calls FlushFileBuffers before fetching
metadata on a descriptor open for writing.  There may be other problems.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--i13qRg9tmWEwo36p
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVCDCzAAoJEPU2Bp2uRE+gTJQP/1yJgsOCPlRpDQipO1FL7ygF
NUxkaBiA8Xw/8Kv/kpJsXlBMRD3mpxE3uLBYF/5PCgncvIEasaQgrIMlMGCvYKvU
ycmhwjnWN7NLT3LPdpZ6QkVF8x1jXK92Nza7jYb/UQjI95bzo7ylOTkDIdL4svbc
vsOn5Ig/MjvSHDkYI0gneuNYPWcKhQ4xHteeh4+lHlzCpW+YBXVtnlZY12FOZyDr
bn/9y2keaYfoxwKibZFSt08Rl2x6FVLGB4dyVM17GR65Aden+wwC9PEutZebq74j
u2YRMElDwnB6Mddf/O48nmYF8pc+dBnyK1QXsqibqQdHhIHFe2/tI25ZuJL5MZ+T
CIiF7rSGLiv/h//c0+GAvlJcEB8hRr0mBzE11U/xJvwKzwRE/SDXCJuP8/H8XmTJ
Hq/VOyeocij9obYu1p8U7BSwd+pdfNn5C88VsgC22mQQsBiGSTKjeR7Ui/aEkHzk
Wh/qofWY+phwvzgwaszNaZgd/cSE3PDLVc9w//+6WyXwd7rHfhPHjvRoz638U+OM
jiprz3lrq3v3DConWPpFGTrArRdChRk0HhZ9hQRWs4DhlY610opH4uLG2LIDqsMQ
F9JUx+t+1DadRKan61xK4pMAskfyQhqul/3g5AGek1KQathME2wuX/apSS37Sv58
iZ/5DMvfmvbG3PpcLgPq
=4UCK
-----END PGP SIGNATURE-----

--i13qRg9tmWEwo36p--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019