public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: fix typo
@ 2025-02-17 13:08 Matěj Cepl
  2025-02-18  6:46 ` Patrick Steinhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Matěj Cepl @ 2025-02-17 13:08 UTC (permalink / raw)
  To: git; +Cc: Matěj Cepl

I don’t think there is an option --signed-off-cc (without -by)
for git send-email.

Signed-off-by: Matěj Cepl <mcepl@cepl.eu>
---
 Documentation/git-send-email.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index bc3ef45acb..d762058907 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -389,7 +389,7 @@ Automating
 +
 Default is the value of `sendemail.suppressCc` configuration value; if
 that is unspecified, default to 'self' if --suppress-from is
-specified, as well as 'body' if --no-signed-off-cc is specified.
+specified, as well as 'body' if --no-signed-off-by-cc is specified.
 
 --[no-]suppress-from::
 	If this is set, do not add the From: address to the cc: list.
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: fix typo
  2025-02-17 13:08 [PATCH] doc: fix typo Matěj Cepl
@ 2025-02-18  6:46 ` Patrick Steinhardt
  2025-02-18 18:51   ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick Steinhardt @ 2025-02-18  6:46 UTC (permalink / raw)
  To: Matěj Cepl; +Cc: git

On Mon, Feb 17, 2025 at 02:08:50PM +0100, Matěj Cepl wrote:
> I don’t think there is an option --signed-off-cc (without -by)
> for git send-email.

A couple comments regarding the commit subject and body:

  - The subject should point out _where_ you're fixing a typo.

  - The message should be assertive and use imperative moot, as if
    instructing the documentation to change.

I'd recommend to have a look at commit messages that relate to your file
by doing `git log --follow Documentation/git-send-email.adoc` to get a
bit of an idea of how this could look like.

> Signed-off-by: Matěj Cepl <mcepl@cepl.eu>
> ---
>  Documentation/git-send-email.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

You should probably rebase your commit on the latest `master` as the
file has since been renamed to "git-send-email.adoc".

> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
> index bc3ef45acb..d762058907 100644
> --- a/Documentation/git-send-email.txt
> +++ b/Documentation/git-send-email.txt
> @@ -389,7 +389,7 @@ Automating
>  +
>  Default is the value of `sendemail.suppressCc` configuration value; if
>  that is unspecified, default to 'self' if --suppress-from is
> -specified, as well as 'body' if --no-signed-off-cc is specified.
> +specified, as well as 'body' if --no-signed-off-by-cc is specified.

The change itself looks obviously correct to me, thanks!

Patrick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: fix typo
  2025-02-18  6:46 ` Patrick Steinhardt
@ 2025-02-18 18:51   ` Junio C Hamano
  2025-02-19  8:06     ` Matěj Cepl
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2025-02-18 18:51 UTC (permalink / raw)
  To: Patrick Steinhardt; +Cc: Matěj Cepl, git

Patrick Steinhardt <ps@pks.im> writes:

> You should probably rebase your commit on the latest `master` as the
> file has since been renamed to "git-send-email.adoc".

This looks like a 'maint' worthy material, though.

Downporting with cherry-pick should be able to deal with the rename,
but queuing with the old name on an older maintenance track and
upmerging should be cleaner, so .txt is fine in this case.

Not that I plan to do Git 2.48.2 anytime soon, so either way it does
not really matter, though ;-)

Thanks for a review.


>> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
>> index bc3ef45acb..d762058907 100644
>> --- a/Documentation/git-send-email.txt
>> +++ b/Documentation/git-send-email.txt
>> @@ -389,7 +389,7 @@ Automating
>>  +
>>  Default is the value of `sendemail.suppressCc` configuration value; if
>>  that is unspecified, default to 'self' if --suppress-from is
>> -specified, as well as 'body' if --no-signed-off-cc is specified.
>> +specified, as well as 'body' if --no-signed-off-by-cc is specified.
>
> The change itself looks obviously correct to me, thanks!
>
> Patrick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] doc: fix typo
  2025-02-18 18:51   ` Junio C Hamano
@ 2025-02-19  8:06     ` Matěj Cepl
  0 siblings, 0 replies; 4+ messages in thread
From: Matěj Cepl @ 2025-02-19  8:06 UTC (permalink / raw)
  To: Junio C Hamano, Patrick Steinhardt; +Cc: git

<https://lore.kernel.org/git/20250218085913.1381537-1-mcepl@cepl.eu/>
and
<https://lore.kernel.org/git/D7VO9H4A9DMN.JK0CKJNDX3XZ@cepl.eu/>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-19  8:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 13:08 [PATCH] doc: fix typo Matěj Cepl
2025-02-18  6:46 ` Patrick Steinhardt
2025-02-18 18:51   ` Junio C Hamano
2025-02-19  8:06     ` Matěj Cepl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox