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:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=sR18ToTJiV/+9h9g kB+crH7wgjJ2LPghxHbqZiBuEVCHF9aMnFmthjdbf6qRGodFWUURCbjQtqThq7vm OFBzL4QQqxKxIPIQSWbKZiRmoD13ipfhODIcGrXR5esh0H+1Dspl4Pr6IHd9J2qo dY3wFB223SzmZt5M1UrwJsrbnlQ= 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:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=e1cM3hyFHC8OJ4GgQvLx9g 9DjhM=; b=O21tvDQb2QTnuxVh96eZbXepW47MkvEKF6oWgLeKkRpkhLS5b6Kc+X TnD/CroLxnoFEuLxEe0PRHme+qdFQ4ulJ3DNoPjRmMeM4CNarXnY2HBKlXuwrYjU xr/Xz2Jr4ZYohIi9MsV7PjbmukNaeLTryNO57CxBCbWKhyQUMxZ8s= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail.lysator.liu.se Message-ID: <55084206.4050407@lysator.liu.se> Date: Tue, 17 Mar 2015 16:02:30 +0100 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Jason Pyeron CC: cygwin AT cygwin DOT com Subject: Re: [cygwin] Re: git fails to push References: <5502264B DOT 3050803 AT lysator DOT liu DOT se> <5508284B DOT 1040304 AT lysator DOT liu DOT se> <55083FC1 DOT 4010503 AT lysator DOT liu DOT se> In-Reply-To: <55083FC1.4010503@lysator.liu.se> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 2015-03-17 15:52, Peter Rosin wrote: > On 2015-03-17 14:33, Jason Pyeron wrote: >> Pardon the direct reply, but my posts are blocked. > > Perhaps your boilerplate footer with copyright claims, or the > raw email addresses? I took the liberty or forwarding it > to the list. I hope that was ok. > >> See: >> http://article.gmane.org/gmane.comp.version-control.git/260968 >> >> https://www.cygwin.com/ml/cygwin/2014-12/msg00096.html >> >> and the forwarded message below. > > Interesting. But the patch may not be needed. The easy thing to > do seems to be to either use core.createobject = rename > or to convince some git :-) that Cygwin also needs > OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedTo OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo > in its section in config.mak.uname. > > Reading the explanation for the option in the git Makefile makes > me think that this is obviously needed on Cygwin too. > > "Define OBJECT_CREATION_USES_RENAMES if your operating > system has problems when hardlinking a file to another > name and unlinking the original file right away (some > NTFS drivers seem to zero the contents in that scenario)." > > NTFS drivers ought to be the same on Windows and Cygwin, and > I imaging that Cygwin will have a hard time fixing it up... *snip* I will report back if my problems evaporate when I set core.createobject = rename. I assume they will. Cheers, Peter -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple