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

Re: [PATCH] Document HOME environment variable

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 10, 2024, 09:20 UTC
Message-ID
<xmqqv7vrlwqt.fsf@gitster.g>
In-Reply-To
<a337ef76-096b-4995-ac06-d1be3b34750d@kdbg.org>
Johannes Sixt <j6t@kdbg.org> writes:
Show 10 quoted lines
>> Just out of curiousity, is Git the only thing that uses $HOME on
>> Windows?  Or among may other programs on Windows that use $HOME, is
>> the way Git gives a fall-back value out of these three variables
>> unusual and deserves documentation?
>
> No Windows native program uses $HOME. Only POSIX-derived tools would
> consider doing so. So, I would answer your question: yes, Git is the
> "only" one insisting in HOME being set. We are free to choose how we set
> it, and the way we do it makes the most sense for Git's purpose. It is
> certainly useful to document how we do it.
That's perfect.  I've marked the topic for 'next' already.
Thanks, all.
Previous: Johannes Sixt
Message 4 of 4 in “Document HOME environment variable”
  1. Document HOME environment variableM Hickford via GitGitGadget, Dec 9, 2024
  2. Junio C HamanoDec 9, 2024
  3. Johannes SixtDec 10, 2024
  4. Junio C HamanoDec 10, 2024

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.