public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Frank Fesevur <ffes@users.sourceforge.net>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Cygwin Git thinks files are changed when they aren't
Date: Wed, 25 Mar 2015 11:20:00 -0000	[thread overview]
Message-ID: <CAKf2h5TNAWucnevjf1Dg3CWprhPDikE7qbn8_1EDpZ83BM-itQ@mail.gmail.com> (raw)
In-Reply-To: <5511CAD2.2020003@oliveyou.net>

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

      parent reply	other threads:[~2015-03-25  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 21:24 Chloe
2015-03-25  2:01 ` Yaakov Selkowitz
2015-03-25  6:32   ` Jim Garrison
2015-03-25  6:34 ` Achim Gratz
2015-03-25 11:20 ` Frank Fesevur [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKf2h5TNAWucnevjf1Dg3CWprhPDikE7qbn8_1EDpZ83BM-itQ@mail.gmail.com \
    --to=ffes@users.sourceforge.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).