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

Re: [PATCH] init - Honour the global core.filemode setting

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 3, 2014, 17:07 UTC
Message-ID
<xmqqegupm69n.fsf@gitster.dls.corp.google.com>
In-Reply-To
<542ED4B8.40603@web.de>
Torsten Bögershausen <tboegi@web.de> writes:
Show 14 quoted lines
>> The first sentence says what happens, as it should.
>> 
>> But it is not directly clear what makes the executable bit differ
>> and when it is a useful thing to ignore the differences, so the
>> second sentence that says "This may be useful" does not give the
>> reader very much.
>> 
> Clearly a major improvement.
>
> Does this (still) include the original line
> "See linkgit:git-update-index[1]"
>
> which helps the user to add *.sh files "executable" to the index, even if
> core.filemode is false ?
Thanks for catching; I omitted the reference by accident.
Perhaps end that sentence like this instead?
	... may be necessary to set this variable to `false`, and
	maintain the executable bit with `git update-index --chmod`
	(see linkgit:git-update-index[1]).
Previous: Torsten Bögershausen
Message 8 of 8 in “init - Honour the global core.filemode setting”
  1. init - Honour the global core.filemode settingHilco Wijbenga, Sep 28, 2014
  2. Torsten BögershausenSep 28, 2014
  3. Hilco WijbengaOct 1, 2014
  4. Junio C HamanoOct 1, 2014
  5. Torsten BögershausenOct 2, 2014
  6. Junio C HamanoOct 2, 2014
  7. Torsten BögershausenOct 3, 2014
  8. Junio C HamanoOct 3, 2014

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.