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

Re: [PATCH 1/1] Documentation: correct hash environment variable

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
May 25, 2020, 17:57 UTC
Message-ID
<20200525175758.GE1915090@camp.crustytoothpaste.net>
In-Reply-To
<CAN0heSoyxvTTaJaRmnQADTaMrWa4QBbGnXi8MUZp7ksibejc8g@mail.gmail.com>
On 2020-05-25 at 16:42:57, Martin Ågren wrote:
Show 11 quoted lines
> > -`GIT_DEFAULT_HASH_ALGORITHM`::
> > +`GIT_DEFAULT_HASH`::
> >         If this variable is set, the default hash algorithm for new
> >         repositories will be set to this value. This value is currently
> >         ignored when cloning; the setting of the remote repository
> 
> Indeed. This discrepancy is visible in the commit which added both the
> documentation and the implementation, 3c9331a129 ("builtin/init-db: add
> environment variable for new repo hash", 2020-02-22). As
> developers-only as this variable is, that commit was not in v2.26.0, so
> this might be worth fixing before cutting v2.27.0.

Yeah, thanks for catching this. I think this is worth fixing. It doesn't do anything right now except produce an error, but we might as well not mislead people.

-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
Previous: Martin Ågren
Message 4 of 4 in “Documentation fix related to hash algorithm”
  1. 0/1 Documentation fix related to hash algorithmToon Claes, May 25, 2020
  2. 1/1 Documentation: correct hash environment variableToon Claes, May 25, 2020
  3. Martin ÅgrenMay 25, 2020
  4. brian m. carlsonMay 25, 2020

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.