Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Ricky Davidson via GitGitGadget" <gitgitgadget@gmail.com>
Cc: git@vger.kernel.org, Ricky Davidson <Ricky.Davidson@hii-tsd.com>
Subject: Re: [PATCH v2] http: document sslcert and sslkey types and extend to proxy
Date: Thu, 20 Apr 2023 12:43:06 -0700	[thread overview]
Message-ID: <xmqq7cu6z6et.fsf@gitster.g> (raw)
In-Reply-To: <pull.1520.v2.git.1682014322604.gitgitgadget@gmail.com> (Ricky Davidson via GitGitGadget's message of "Thu, 20 Apr 2023 18:12:02 +0000")

"Ricky Davidson via GitGitGadget" <gitgitgadget@gmail.com> writes:

> From: Ricky Davidson <Ricky.Davidson@hii-tsd.com>

I think it is the first time we see your patches around here.
Welcome to Git developer community.

> 0a01d41 added http.sslCertType and http.sslKeyType, but:
>
> 1. does not document the feature.
> 2. does not apply to SSL proxy equivalents.

The above description would read better to have "it" to serve as the
subject for the two sentences that point out rooms for improvement
of what the earlier commit did somewhere.  Perhaps between "but" and
the colon after it, e.g. "X did Y, but it: (1) did not do W, and (2)
did not do Z."  Alternatively, "X did Y, but: (1) it did not do
W. (2) it did not do Z." would also work.

The way we refer to an existing commit is:

	0a01d41e (http: add support for different sslcert and sslkey
	types., 2023-03-20) added ...

Running "git show --pretty=reference -s $commit" would give you a
properly formatted reference.

> Documents http.sslCertType and http.sslKeyType. Implements
> http.proxySSLCertType. Same for http.sslKeyType and
> http.proxySSLKeyType equivalents and related environment
> variables.

After explaining the status quo and talking about what we want to
improve, we write what we wanted the code to become with this patch
in imperative mood, as if we are giving an order to "become like
so", instead of third-person present tense.

I.e. something like "Document X and Y, and implement W and Z for
completeness.  Do the same for A and B."

Other than that, well-written in an understandable way.  Very nice.

>  Documentation/config/http.txt | 24 ++++++++++++++++++++++++
>  http.c                        | 12 ++++++++++++
>  2 files changed, 36 insertions(+)

I wonder if we can add some tests for the feature, though.

Thanks.

  reply	other threads:[~2023-04-20 19:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20 17:51 [PATCH] http: document sslcert and sslkey types and extend to proxy Ricky Davidson via GitGitGadget
2023-04-20 18:12 ` [PATCH v2] " Ricky Davidson via GitGitGadget
2023-04-20 19:43   ` Junio C Hamano [this message]
2023-04-20 20:11   ` [PATCH v3] " Ricky Davidson via GitGitGadget
2023-04-20 21:14     ` EXT :[PATCH " Davidson, Ricky (HII-Mission Technologies)
2023-04-21  0:47     ` [PATCH " Ramsay Jones
2023-04-21  3:18       ` EXT :Re: " Davidson, Ricky (HII-Mission Technologies)
2023-04-21  3:35     ` [PATCH v4] " Ricky Davidson via GitGitGadget
  -- strict thread matches above, loose matches on Subject: below --
2023-04-20 20:51 [PATCH v2] " Davidson, Ricky (HII-Mission Technologies)

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=xmqq7cu6z6et.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=Ricky.Davidson@hii-tsd.com \
    --cc=git@vger.kernel.org \
    --cc=gitgitgadget@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