diff options
author | Matthias Kestenholz <matthias@spinlock.ch> | 2007-03-09 23:38:57 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-09 16:46:53 -0800 |
commit | 443b92b6e50462942a8b2ca22a7def87036762ff (patch) | |
tree | 5ad6856a431f8eeb6294a2eb6c6d3eb641ed8b23 /refs.c | |
parent | ef203f08564c1c6d267fedf8e0357c56d477892f (diff) | |
download | git-443b92b6e50462942a8b2ca22a7def87036762ff.tar.gz |
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>
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |