git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Harris <git@peter.is-a-geek.org>
To: Manuel Strehl <manuel.strehl@physik.uni-regensburg.de>
Cc: git@vger.kernel.org
Subject: Re: Checking out messes up execution bit
Date: Sat, 6 Nov 2010 20:11:24 -0400	[thread overview]
Message-ID: <AANLkTimCm7f445K-RhK4cPhvccVP7LcdQPCxRQ+uVzcW@mail.gmail.com> (raw)
In-Reply-To: <4CD5C478.1010604@physik.uni-regensburg.de>

On Sat, Nov 6, 2010 at 5:11 PM, Manuel Strehl wrote:
> To put it in a nutshell: I edit and commit a file in branch "master", then I
> check out branch "dev" and the edited file gets the execution bit set. This
> leads to a working copy differing from the content of the index. It's
> especially painful when I try to merge "master" into "dev", which fails
> then. I'm working under ext4 and Samba/CIFS, respectively.

This is because CIFS does not support the execution bit.

> One answerer at superuser thinks that this looks like a bug in git itself.
> Therefore I'd like to check with you, if there is possibly another
> explanation for my observation, before I issue a bug report.

See core.fileMode in "git help config"

Peter Harris

      reply	other threads:[~2010-11-07  0:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-06 21:11 Checking out messes up execution bit Manuel Strehl
2010-11-07  0:11 ` Peter Harris [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=AANLkTimCm7f445K-RhK4cPhvccVP7LcdQPCxRQ+uVzcW@mail.gmail.com \
    --to=git@peter.is-a-geek.org \
    --cc=git@vger.kernel.org \
    --cc=manuel.strehl@physik.uni-regensburg.de \
    /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).