cvsserver: Introduce new state variable 'method'
[gitweb.git] / refs.c
diff --git a/refs.c b/refs.c
index 76c08d03602554a77fcf48a488b0d7fceb41073c..9f1fb68d047b62622598379706fa08960f6995f8 100644 (file)
--- 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 */