index 63877037893603c385e63547c83ea8c59f7c3101..131e87014987c0660af6ecdb3c62ef81c1270a25 100644 (file)
--- a/refs.c
+++ b/refs.c
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 */
return -1;
}
+#ifndef NO_SYMLINK_HEAD
done:
+#endif
if (logmsg && !read_ref(refs_heads_master, new_sha1))
log_ref_write(ref_target, old_sha1, new_sha1, logmsg);