git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/1] Don't make $GIT_DIR/config executable
@ 2014-11-18 13:50 Michael Haggerty
  2014-11-18 13:50 ` [PATCH v3 1/1] create_default_files(): don't set u+x bit on $GIT_DIR/config Michael Haggerty
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Haggerty @ 2014-11-18 13:50 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: Eric Wong, Karsten Blees, Stefan Beller,
	Torsten Bögershausen, Matthieu Moy, Eric Sunshine,
	Johannes Sixt, git, Michael Haggerty

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-18 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18 13:50 [PATCH v3 0/1] Don't make $GIT_DIR/config executable Michael Haggerty
2014-11-18 13:50 ` [PATCH v3 1/1] create_default_files(): don't set u+x bit on $GIT_DIR/config Michael Haggerty
2014-11-18 17:17   ` Stefan Beller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).