This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [cygwin] Re: git fails to push
- From: Peter Rosin <peda at lysator dot liu dot se>
- To: Jason Pyeron <jpyeron at pdinc dot us>
- Cc: cygwin at cygwin dot com
- Date: Tue, 17 Mar 2015 16:02:30 +0100
- Subject: Re: [cygwin] Re: git fails to push
- Authentication-results: sourceware.org; auth=none
- 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> <E043FEB21B394020B5EA3AFC2ED69308 at black> <55083FC1 dot 4010503 at lysator dot liu dot se>
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