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

Re: [SOLVED] Re: safe.directory does not work at all (git 2.39.5, 2.51.0)

From
MKMarc-Jano Knopp <y--gitbugs@marc-jano.de>
Date
Sep 17, 2025, 20:22 UTC
Message-ID
<vuldcnyfwo6nii35kpwzpjws74hvgbeesovjpq4r5n2244usry@svmiikrnpviu>
In-Reply-To
<20250915022301.GA593748@coredump.intra.peff.net>

On Mon, 2025-09-15, at 04:23:01 (+0200), Jeff King wrote: [...]

> I dunno. I don't love either of those that much. And while it could help
> things in general, I think the main clue in this case is just that the
> error message refers to '/git/main/test.git'. And that path is only
> meaningful on the server, since the url was my.server:/git/main/test.git.
Good point!
> Knowing that the config advice is _also_ coming from the server is
> probably the key subtle bit, though.

Yeah, the keyword "remote" would probably have been successfully caught by my brain's pattern matching algorithm ...

MJK
Previous: Jeff King
Message 6 of 6 in “safe.directory does not work at all (git 2.39.5, 2.51.0)”
  1. Marc-Jano KnoppSep 13, 2025
  2. Carlo Marcelo Arenas BelónSep 13, 2025
  3. [SOLVED] Re: safe.directory does not work at all (git 2.39.5, 2.51.0)Marc-Jano Knopp, Sep 14, 2025
  4. Jeff KingSep 15, 2025
  5. Jeff KingSep 15, 2025
  6. Marc-Jano KnoppSep 17, 2025

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.