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

[PATCH v3 0/1] Don't make $GIT_DIR/config executable

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Nov 18, 2014, 13:50 UTC
Message-ID
<1416318624-23048-1-git-send-email-mhagger@alum.mit.edu>

Here is a new, svelte version of the patch to avoid setting the u+x bit on $GIT_DIR/config. Thanks to the many people who reviewed versions v1 [1] and v2 [2].

This time there is no attempt to fix the permissions in existing repositories; it only avoids creating new problems. It also includes a test, as suggested by Eric and sketched by Junio.

This version, like the previous versions, applies to maint. But (thanks to its new minimalist nature) this version can be merged to master without conflict.

Michael

[1] http://thread.gmane.org/gmane.comp.version-control.git/259620 [2] http://thread.gmane.org/gmane.comp.version-control.git/259644

Michael Haggerty (1):
  create_default_files(): don't set u+x bit on $GIT_DIR/config
 builtin/init-db.c | 3 ++-
 t/t0001-init.sh   | 7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
-- 
2.1.3
Next: Michael Haggerty
Message 1 of 3 in “Don't make $GIT_DIR/config executable”
  1. 0/1 Don't make $GIT_DIR/config executableMichael Haggerty, Nov 18, 2014
  2. 1/1 create_default_files(): don't set u+x bit on $GIT_DIR/configMichael Haggerty, Nov 18, 2014
  3. Stefan BellerNov 18, 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.