X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 22 Apr 2009 22:17:13 -0400
Message-ID: <7c737f300904221917g5593fd52j90394a9b66d3b914@mail.gmail.com>
Subject: Cygwin git and Windows native Git differ on flipping permissions
From: Alexy Khrabrov <deliverable@gmail.com>
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I have git working fine under cygwin, and made a repo with it.  Now I
got GitExtensions,

http://sourceforge.net/projects/gitextensions/
http://github.com/spdr870

-- which come with a Windows-native Git and git-gui.  Strangely, the
gui shows that permissions of lots of things changed from 100755 to
100644.When I agree and add and commit that in the windows gui, back
on cygwin, git status suddently complains that the permissions changed
from 100644 to 100755!  Why this weirdness?  I know I probably should
use either cygwin-compiled or windows-native stuff with their
respective guis, but I'm curious as to why this mismatch happens, and
perhaps how to tell each git to ignore it! :)  I remember when I
originally said mkdir repo, the repo was unreadable, I had to edit
permissions again as administrator in Windows Explorer and OK to
recursively fix them with full control to myself.  Can this be at play
here?

Also -- I did rebaseall and peflagsall on the whole cygwin, and my zsh
started to work after that.  However, once when I had that gui up and
started a zsh, it failed with some rebase issues.  Yet those tools are
supposedly windows-native!  Any reason for it?

Cheers,
Alexy

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

