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

Re: [msysGit] Windows & executable bit for newly created files

From
DSDirk Süsserott <newsletter@dirk.my1.cc>
Date
Dec 16, 2011, 18:27 UTC
Message-ID
<4EEB8D99.9030302@dirk.my1.cc>
In-Reply-To
<7vwr9xmu48.fsf@alter.siamese.dyndns.org>
Am 15.12.2011 21:56 schrieb Junio C Hamano:
Show 8 quoted lines
> Dirk Süsserott <newsletter@dirk.my1.cc> writes:
> 
>> Is there a way to convince git that the new mode is 755 instead of 644,
>> even with core.filemode set to false? So that the mode is correct when I
>> checkout the file under Linux later on?
> 
> "git update-index --chmod=+x"?
> 
Oh, thanks. I wasn't aware of that option. Works exactly as I like.
Dirk
Previous: Junio C Hamano
Message 3 of 3 in “[msysGit] Windows & executable bit for newly created files”
  1. Dirk SüsserottDec 15, 2011
  2. Junio C HamanoDec 15, 2011
  3. Dirk SüsserottDec 16, 2011

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.