@matheusbsbs / matheus-bagliano / commits / 443b92b6e5
Fork 0

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 <matthias@spinlock.ch> Signed-off-by: Junio C Hamano <junkio@cox.net>

Matthias Kestenholz committed Mar 9, 2007 at 23:38 UTC 443b92b6e50462942a8b2ca22a7def87036762ff
1 file changed +2
refs.c
+2
@@ -921,6 +921,8 @@ static int log_ref_write(const char *ref_name, const unsigned char *old_sha1,
921 log_file, strerror(errno));
922 }
923
924 + adjust_shared_perm(log_file);
925 +
926 msglen = 0;
927 if (msg) {
928 /* clean up the message and make sure it is a single line */