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

Re: [PATCH v2] Make 'trust_executable_bit' repository-scoped

From
DGDronaraj Gyawali <dronarajgyawali@gmail.com>
Date
Mar 9, 2026, 13:33 UTC
Message-ID
<CAJtK1FMzbX7dO9y7hM_6_DbLpwbeYHnrg7WLjAghGX6UDVDmJw@mail.gmail.com>
In-Reply-To
<6e3d373f2f41232ca9015c39ae0ea67d@purelymail.com>
Hi Yuchen,
Thanks for the review and for pointing that out.

You're right that calling prepare_repo_settings() inside git_default_core_config() defeats the purpose of lazy loading. I'll update the patch accordingly by removing the handling from environment.c and reading core.filemode directly in repo-settings.c using repo_config_get_bool().

Also, I'm new to contributing to Git, so thank you for the guidance and patience while I learn.

Thanks again for the help.

Regards, Drona

Previous: cat@malon.devNext: Tian Yuchen
Message 7 of 11 in “Refactor 'trust_executable_bit' to repository-scoped setting”
  1. Refactor 'trust_executable_bit' to repository-scoped settingdrona, Mar 1, 2026
  2. Tian YuchenMar 6, 2026
  3. Make 'trust_executable_bit' repository-scopeddrona, Mar 8, 2026
  4. [PATCH v2] Make 'trust_executable_bit' repository-scopeddrona, Mar 8, 2026
  5. Make 'trust_executable_bit' repository-scopeddrona, Mar 8, 2026
  6. cat@malon.devMar 9, 2026
  7. Dronaraj GyawaliMar 9, 2026
  8. Tian YuchenMar 9, 2026
  9. Junio C HamanoMar 9, 2026
  10. Junio C HamanoMar 9, 2026
  11. Dronaraj GyawaliMar 9, 2026

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.