[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