From: Matthias Kestenholz Date: Fri, 9 Mar 2007 22:38:57 +0000 (+0100) Subject: Adjust reflog filemode in shared repository X-Git-Tag: v1.5.0.4~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=443b92b6e50462942a8b2ca22a7def87036762ff;p=git.git Adjust reflog filemode in shared repository 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 Signed-off-by: Junio C Hamano --- diff --git a/refs.c b/refs.c index a9b8c72c6..131e87014 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 */