public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jim Garrison <jhg@jhmg.net>
To: cygwin@cygwin.com
Subject: git and filemodes
Date: Mon, 27 Dec 2021 14:45:17 -0800	[thread overview]
Message-ID: <2eef10a5-ad9b-a663-6fe4-896e3805b8ba@jhmg.net> (raw)

Win 10 20H2 with latest Cygwin

$ cygcheck -c cygwin git
Cygwin Package Information
Package              Version        Status
cygwin               3.3.3-1        OK
git                  2.34.1-1       OK


$ git diff .gitignore
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755

But

$ ls -l .gitignore
-rwxrwx---+ 1 Administrators None 84 Dec 15 16:30 .gitignore

So it appears the actual file is mode 0770, not 0755 as git is claiming.

Am I misinterpreting something here?
If not, why does git think the mode is 0755?

             reply	other threads:[~2021-12-27 22:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27 22:45 Jim Garrison [this message]
     [not found] ` <CA+kUOamusZbWfriVWY2++EDN_E_bJR=o+WCTP3WK4CjMxjWOZg@mail.gmail.com>
2021-12-27 23:17   ` Jim Garrison

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=2eef10a5-ad9b-a663-6fe4-896e3805b8ba@jhmg.net \
    --to=jhg@jhmg.net \
    --cc=cygwin@cygwin.com \
    --cc=jhg@acm.org \
    /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).