Git development
 help / color / mirror / Atom feed
From: Phillip Wood <phillip.wood123@gmail.com>
To: Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>,
	Phillip Wood <phillip.wood@dunelm.org.uk>,
	git@vger.kernel.org
Cc: Jeff King <peff@peff.net>
Subject: Re: [PATCH] var: add GIT_COMMENT_STRING
Date: Thu, 26 Nov 2026 16:29:57 +0000	[thread overview]
Message-ID: <9e53b717-fe1d-42f4-b359-6b7a42a58e88@gmail.com> (raw)
In-Reply-To: <b9ab8baf-0b87-498b-a37c-64af0d06b9be@app.fastmail.com>

On 25/11/2026 20:09, Kristoffer Haugsbakk wrote:
> On Wed, Nov 25, 2026, at 17:19, Phillip Wood wrote:
>> On 24/11/2026 15:02, Kristoffer Haugsbakk wrote:
>>> On Tue, Nov 24, 2026, at 11:37, Phillip Wood wrote:
> 
>> Perhaps saying "as set by `core.commentString`" would be
>> more better as it does not promise the reader that the config
>> documentation contains additional, useful, information?
> 
> Yeah, this sounds like the sweet spot.

That's what I've used in v2

>> The documentation for GIT_PAGER, GIT_EDITOR and GIT_SEQUENCE_EDITOR
>> mention the relevant config settings when describing how we determine
>> which program to use, but the documentation for things like
>> GIT_DEFAULT_BRANCH does do not.
> 
> After reading just a little, I much prefer the verbosity of `GIT_EDITOR`
> compared to the terseness of `GIT_DEFAULT_BRANCH`.

In a way that extra verbosity is because determining the editor is more 
complicated than determining the default branch name, though we could 
mention the config settings for that and also GIT_COMMITTER_NAME etc.

Thanks

Phillip


  reply	other threads:[~2026-11-26 16:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 10:37 [PATCH] var: add GIT_COMMENT_STRING Phillip Wood
2026-11-24 15:02 ` Kristoffer Haugsbakk
2026-11-25 16:19   ` Phillip Wood
2026-11-25 20:09     ` Kristoffer Haugsbakk
2026-11-26 16:29       ` Phillip Wood [this message]
2026-11-24 20:24 ` Junio C Hamano
2026-11-26 16:25 ` [PATCH v2] " Phillip Wood
2026-11-26 20:56   ` Junio C Hamano
2026-11-27 16:42     ` Phillip Wood
2026-11-26 21:14   ` Kristoffer Haugsbakk
2026-11-29 16:18 ` [PATCH v3] " Phillip Wood
2026-11-29 19:15   ` Junio C Hamano

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=9e53b717-fe1d-42f4-b359-6b7a42a58e88@gmail.com \
    --to=phillip.wood123@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=kristofferhaugsbakk@fastmail.com \
    --cc=peff@peff.net \
    --cc=phillip.wood@dunelm.org.uk \
    /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