git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Checking out messes up execution bit

From
PHPeter Harris <git@peter.is-a-geek.org>
Date
Nov 7, 2010, 00:11 UTC
Message-ID
<AANLkTimCm7f445K-RhK4cPhvccVP7LcdQPCxRQ+uVzcW@mail.gmail.com>
In-Reply-To
<4CD5C478.1010604@physik.uni-regensburg.de>
On Sat, Nov 6, 2010 at 5:11 PM, Manuel Strehl wrote:
Show 5 quoted lines
> 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
Previous: Manuel Strehl
Message 2 of 2 in “Checking out messes up execution bit”
  1. Manuel StrehlNov 6, 2010
  2. Peter HarrisNov 7, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.