git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Johannes Sixt <j6t@kdbg.org>
Cc: git@vger.kernel.org,  M Hickford <mirth.hickford@gmail.com>,
	 Alejandro Barreto <alejandro.barreto@ni.com>,
	 M Hickford via GitGitGadget <gitgitgadget@gmail.com>
Subject: Re: [PATCH] Document HOME environment variable
Date: Tue, 10 Dec 2024 18:20:58 +0900	[thread overview]
Message-ID: <xmqqv7vrlwqt.fsf@gitster.g> (raw)
In-Reply-To: <a337ef76-096b-4995-ac06-d1be3b34750d@kdbg.org> (Johannes Sixt's message of "Tue, 10 Dec 2024 09:01:57 +0100")

Johannes Sixt <j6t@kdbg.org> writes:

>> 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.



      reply	other threads:[~2024-12-10  9:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-09 19:18 [PATCH] Document HOME environment variable M Hickford via GitGitGadget
2024-12-09 23:47 ` Junio C Hamano
2024-12-10  8:01   ` Johannes Sixt
2024-12-10  9:20     ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqv7vrlwqt.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=alejandro.barreto@ni.com \
    --cc=git@vger.kernel.org \
    --cc=gitgitgadget@gmail.com \
    --cc=j6t@kdbg.org \
    --cc=mirth.hickford@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).