git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Adjust reflog filemode in shared repository

From
Matthias Kestenholz <matthias@spinlock.ch>
Date
Mar 9, 2007, 22:38 UTC
Message-ID
<11734799371637-git-send-email-matthias@spinlock.ch>

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>
---
 refs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/refs.c b/refs.c
index 76c08d0..9f1fb68 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 */
-- 
1.5.0.3.942.g299f-dirty
Next: Junio C Hamano
Message 1 of 2 in “Adjust reflog filemode in shared repository”
  1. Adjust reflog filemode in shared repositoryMatthias Kestenholz, Mar 9, 2007
  2. Junio C HamanoMar 10, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.