From: Rafael Kitover <rkitover@io.com>
To: git@vger.kernel.org
Subject: ignoring file modes completely
Date: Sat, 05 Feb 2011 10:24:50 -0500 [thread overview]
Message-ID: <4D4D6BC2.90101@io.com> (raw)
Hello,
I found the core.filemode option, which ignores executable bits, but I
need an option to ignore all mode differences, and such an option does
not seem to exist.
The reason for this is that I'm trying to use msysGit with Cygwin git,
sometimes to work with an msysGit clone in cygwin or to work with a
Cygwin git clone in msysGit. For example, I would like to use "git
cpan-init" under Cygwin, then use msysGit to work with the repository,
this is currently impossible.
Here is "git status" on a repo made with Cygwin git under msysGit:
$ git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working
directory)
#
# modified: Makefile.PL
# modified: t/02ads.t
# modified: t/02cxn.t
# modified: t/04os.t
...
...
Every file is modified because the modes do not match :(
Would it be possible to add some sort of option to ignore all file mode
changes?
next reply other threads:[~2011-02-05 15:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-05 15:24 Rafael Kitover [this message]
2011-02-05 16:03 ` ignoring file modes completely Jared Hance
2011-02-05 16:09 ` Rafael Kitover
2011-02-05 16:58 ` Andreas Ericsson
2011-02-05 19:28 ` Rafael Kitover
2011-02-06 13:14 ` Michael J Gruber
2011-02-06 15:53 ` Rafael Kitover
2011-02-06 16:14 ` Rafael Kitover
2011-02-06 18:10 ` Dmitry Potapov
2011-02-06 20:29 ` Rafael Kitover
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=4D4D6BC2.90101@io.com \
--to=rkitover@io.com \
--cc=git@vger.kernel.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 NNTP newsgroup(s).