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

http-backend GIT_COMMITTER_NAME & -EMAIL documentation bug

From
Ggima@iki.fi <gima@iki.fi>
Date
Nov 10, 2012, 15:26 UTC
Message-ID
<509E721B.8070700@iki.fi>

Documentation says that envvars GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL formed from REMOTE_USER and REMOTE_ADDR, but doesn't mention that they are left alone if they have been set already. Referring to: https://github.com/git/git/blob/master/Documentation/git-http-backend.txt#L178

Source code says that they are set conditionally (referring to this part of the source): https://github.com/git/git/blob/master/http-backend.c#L335

And the (most recent) commit pertaining to this behavior explains the change: https://github.com/git/git/commit/e32a4581bcbf1cf43cd5069a0d19df07542d612a

I'm also for the possibility of custom implementations assigning those envvars, so could the documentation be changed to reflect that?

Message 1 of 1 in “http-backend GIT_COMMITTER_NAME & -EMAIL documentation bug”
  1. gima@iki.fiNov 10, 2012

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.