delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/22/13:15:17

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:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=ANIqGG8d1wRi6Wqj/+tuqAXds1hi79MlrcRf/1/9Vh6
ymjyFpbHRvN92gn5uADHqp1tyA6s/Lbltqvo9vVWQkxnDJRXfCcgcJ5sZzwE8y0K
P/h4sfvTjQ0n5780kJiifWP6vDlHOMoB7LCH1mg1tsbuKGUtQjibN/igwSSK1Z9U
=
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:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=OW/P/JFjVuCKjfjZctPVRZIIJLs=; b=Wp2uiNYNDB9sdtWqH
jd1o+M5KiuCo7Y7QCn4IrPN9TbEcmKkRdykqef5pCiAZSrNN3Cenzs6oGlZAIDCI
OBElePowqlzoQUNlvwbt+shScSQmG5cQVozqJ6IDLrMyuroFz4Rl6UvnyGGTA478
RFimaZ81OfL4l1HDAeKghBH0EE=
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=1.9 required=5.0 tests=BAYES_50,KAM_ASCII_DIVIDERS,KAM_INFOUSMEBIZ,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: mail.pdinc.us
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <cygwin AT cygwin DOT com>
References: <33EC3398272FBE47B64EE3B3E98F69A76C437B7A AT de011521 DOT schaeffler DOT com>
In-Reply-To: <33EC3398272FBE47B64EE3B3E98F69A76C437B7A@de011521.schaeffler.com>
Subject: RE: [cygwin] The new permission system and git
Date: Mon, 22 Jun 2015 13:14:55 -0400
Message-ID: <B9CDCB7DBD6B471FA33776D0F59FF73C@black7>
MIME-Version: 1.0
X-IsSubscribed: yes

> -----Original Message-----
> From: Lemke, Michael 
> Sent: Monday, June 22, 2015 11:31 AM
> 
> Sorry to say this but everywhere I use cygwin (work, home) 
> these days I run into trouble with the new permission system 
> initially introduced at 1.7.35 IIRC.  I just did this:
> 
> $ cd //some/server

I have seen this before, please confirm all works on local drives (not
mapped / UNC). If so can you please try with this version of git:
https://github.com/pdinc-oss/git/tree/cygwin-issue-remoteCIFS-rename ?

From thread: https://www.cygwin.com/ml/cygwin/2014-12/msg00096.html

> $ git init .
> $ git add statistik
> $ git commit
> error: invalid object 040000 
> ab9e237892aceba0cb7447b290bdcc7437967918 for 'statistik'
> error: Error building trees
> $
> 
> But:
> $ ls -ls .git/objects/ab/9e237892aceba0cb7447b290bdcc7437967918
> 4 -r--rwxr--+ 1 Administrators INA-DE01+Domain Users 365 Jun 
> 22 16:59 .git/objects/ab/9e237892aceba0cb7447b290bdcc7437967918
> 
> Mounting the whole server directory noacl doesn't help.  The 
> only change is that vi doesn't complain that I am editing a 
> readonly file when saving the commit message.
> 
> On Stackoverflow I found a workaround 
>
(http://stackoverflow.com/questions/6866913/git-commit-on-windows-cygwin-is-
broken)
> 
> $ git config --add core.createobject rename

Glad to see that it has been merged in. This is the proper solution for
repos on UNC.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 


--
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

- Raw text -


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