X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=NlDMorE
	E01CbGCakjntAjy2/1xDiAbyTXLqib6i88z+K++Ig9nlm8T2Rw+cl0qQum/jstMS
	QnA+S7EJC1haY7csCP8n6lITIuPmqaEi6eeEToOkO/wOBJnNNT3st8jFA0m6i8l6
	Ch17LjRi/7rPQ+T+fNPnxqnKMaOTeylTLGmg=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=B8rp4BACmwreh
	wWa2csQ8JyNbZw=; b=H8kzwbYnjxnd7+r0g14G7AR/ybkkFskhyDzM2aeJxYv6Q
	l59Hk6YYNK126hq+mJdX8P5BV2p2JU38PiOrfzuJbMIngDBXP21LIODYcJtR82u7
	A/6WtTN1X/p0tPB1GINFPpE10zSPLqIyMHcLHcHUw7jeHCoS3p3A/IHOL9+SMU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.2
X-HELO: s87.webhostingserver.nl
X-Received: by 10.107.47.26 with SMTP id j26mr12417984ioo.36.1427275496166; Wed, 25 Mar 2015 02:24:56 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <5511CAD2.2020003@oliveyou.net>
References: <5511CAD2.2020003@oliveyou.net>
From: Frank Fesevur <ffes@users.sourceforge.net>
Date: Wed, 25 Mar 2015 10:24:25 +0100
Message-ID: <CAKf2h5TNAWucnevjf1Dg3CWprhPDikE7qbn8_1EDpZ83BM-itQ@mail.gmail.com>
Subject: Re: Cygwin Git thinks files are changed when they aren't
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

2015-03-24 21:42 GMT+01:00 Chloe:
> Cygwin Git always thinks files are changed even when they aren't. After a
> commit with a Windows Git, Cygwin Git shows files as modified.
> [snip]
> $ git diff .project
> diff --git a/.project b/.project
> old mode 100644
> new mode 100755

Apart from the file mode already mentioned, don't forget that Windows
based git uses CRLF as line endings where Cygwin git uses LF as
default line ending (like a Linux based git). Could lead to "modified"
files as well. I avoid mixed the two as much as possible. I use Cygwin
git to do all the real operations and use TortoiseGit (together with
Windows based git) just to see in the Windows Explorer what is
happening in my directories. There is a tweak introduced in the most
recent TortoiseGit to use Cygwin git, but have tried that yet.

Regards,
Frank

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

