delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/22/22:17:31

X-Recipient: archive-cygwin AT delorie DOT 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 AT gmail DOT com>
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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

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/

- Raw text -


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