Git development
 help / color / mirror / Atom feed
* [PATCH] Adjust reflog filemode in shared repository
@ 2007-03-09 22:38 Matthias Kestenholz
  2007-03-10  0:53 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Kestenholz @ 2007-03-09 22:38 UTC (permalink / raw)
  To: junkio; +Cc: git, Matthias Kestenholz

Without this, committing in a group-shared repository would not work
even though all developers are in the same group.

Signed-off-by: Matthias Kestenholz <matthias@spinlock.ch>
---
 refs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/refs.c b/refs.c
index 76c08d0..9f1fb68 100644
--- a/refs.c
+++ b/refs.c
@@ -921,6 +921,8 @@ static int log_ref_write(const char *ref_name, const unsigned char *old_sha1,
 				     log_file, strerror(errno));
 	}
 
+	adjust_shared_perm(log_file);
+
 	msglen = 0;
 	if (msg) {
 		/* clean up the message and make sure it is a single line */
-- 
1.5.0.3.942.g299f-dirty

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

end of thread, other threads:[~2007-03-10  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 22:38 [PATCH] Adjust reflog filemode in shared repository Matthias Kestenholz
2007-03-10  0:53 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox