git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] send-email: document --mailmap and associated configuration
@ 2024-09-23 22:24 Jacob Keller
  2024-09-24  5:29 ` Junio C Hamano
  2024-09-24 21:41 ` Junio C Hamano
  0 siblings, 2 replies; 8+ messages in thread
From: Jacob Keller @ 2024-09-23 22:24 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Jacob Keller

From: Jacob Keller <jacob.keller@gmail.com>

241499aba007 ("send-email: add mailmap support via sendemail.mailmap and
--mailmap", 2024-08-27) added support for --mailmap, and the associated
sendemail.mailmap.* configuration variables. Add documentation to
reflect this feature.

Fixes: 241499aba007 ("send-email: add mailmap support via sendemail.mailmap and --mailmap")
Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
---
 Documentation/config/sendemail.txt | 15 +++++++++++++++
 Documentation/git-send-email.txt   |  6 ++++++
 2 files changed, 21 insertions(+)

diff --git a/Documentation/config/sendemail.txt b/Documentation/config/sendemail.txt
index 6a869d67eb90..14a58b3749e2 100644
--- a/Documentation/config/sendemail.txt
+++ b/Documentation/config/sendemail.txt
@@ -30,6 +30,21 @@ sendemail.confirm::
 	in the linkgit:git-send-email[1] documentation for the meaning of these
 	values.
 
+sendemail.mailmap::
+	If true, makes linkgit:git-send-email[1] assume `--mailmap`,
+	otherwise assume `--no-mailmap`. False by default.
+
+sendemail.mailmap.file::
+	The location of a linkgit:git-send-email[1] specific augmenting
+	mailmap file. The default mailmap and `mailmap.file` are loaded
+	first. Thus, entries in this file take precedence over entries in
+	the default mailmap locations. See linkgit:git-mailmap[1].
+
+sendemail.mailmap.blob::
+	Like `sendemail.mailmap.file`, but consider the value as a reference
+	to a blob in the repository. Entries in `sendemail.mailmap.file`
+	take precedence over entries here. See linkgit:git-mailmap[1].
+
 sendemail.aliasesFile::
 	To avoid typing long email addresses, point this to one or more
 	email aliases files.  You must also supply `sendemail.aliasFileType`.
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 2e6f1d63ae4a..dc5b122bb8e6 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -414,6 +414,12 @@ exists when 'git send-email' is asked to add it (especially note that
 Failure to do so may not produce the expected result in the
 recipient's MUA.
 
+--[no-]mailmap::
+	Use the mailmap file (see linkgit:git-mailmap[1]) to map all
+	addresses to their canonical real name and email address. Additional
+	mailmap data specific to git-send-email may be provided using the
+	`sendemail.mailmap.file` or `sendemail.mailmap.blob` configuration
+	values. Defaults to `sendemail.mailmap`.
 
 Administering
 ~~~~~~~~~~~~~
-- 
2.46.2.828.g9e56e24342b6


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

* Re: [PATCH] send-email: document --mailmap and associated configuration
  2024-09-23 22:24 [PATCH] send-email: document --mailmap and associated configuration Jacob Keller
@ 2024-09-24  5:29 ` Junio C Hamano
  2024-09-24 21:41 ` Junio C Hamano
  1 sibling, 0 replies; 8+ messages in thread
From: Junio C Hamano @ 2024-09-24  5:29 UTC (permalink / raw)
  To: Jacob Keller; +Cc: git, Jacob Keller

Jacob Keller <jacob.e.keller@intel.com> writes:

> From: Jacob Keller <jacob.keller@gmail.com>
>
> 241499aba007 ("send-email: add mailmap support via sendemail.mailmap and
> --mailmap", 2024-08-27) added support for --mailmap, and the associated
> sendemail.mailmap.* configuration variables. Add documentation to
> reflect this feature.

Makes sense.  Thanks.  Will queue.

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

* Re: [PATCH] send-email: document --mailmap and associated configuration
  2024-09-23 22:24 [PATCH] send-email: document --mailmap and associated configuration Jacob Keller
  2024-09-24  5:29 ` Junio C Hamano
@ 2024-09-24 21:41 ` Junio C Hamano
  2024-09-24 21:45   ` Junio C Hamano
  1 sibling, 1 reply; 8+ messages in thread
From: Junio C Hamano @ 2024-09-24 21:41 UTC (permalink / raw)
  To: Jacob Keller; +Cc: git, Jacob Keller

Jacob Keller <jacob.e.keller@intel.com> writes:

> +sendemail.mailmap.blob::
> +	Like `sendemail.mailmap.file`, but consider the value as a reference
> +	to a blob in the repository. Entries in `sendemail.mailmap.file`
> +	take precedence over entries here. See linkgit:git-mailmap[1].

No such documentation page git-mailmap[1] exists, hence this breaks
"make check-docs".




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

* Re: [PATCH] send-email: document --mailmap and associated configuration
  2024-09-24 21:41 ` Junio C Hamano
@ 2024-09-24 21:45   ` Junio C Hamano
  2024-09-24 23:15     ` Keller, Jacob E
  0 siblings, 1 reply; 8+ messages in thread
From: Junio C Hamano @ 2024-09-24 21:45 UTC (permalink / raw)
  To: Jacob Keller; +Cc: git, Jacob Keller

Junio C Hamano <gitster@pobox.com> writes:

> Jacob Keller <jacob.e.keller@intel.com> writes:
>
>> +sendemail.mailmap.blob::
>> +	Like `sendemail.mailmap.file`, but consider the value as a reference
>> +	to a blob in the repository. Entries in `sendemail.mailmap.file`
>> +	take precedence over entries here. See linkgit:git-mailmap[1].
>
> No such documentation page git-mailmap[1] exists, hence this breaks
> "make check-docs".

IOW linkgit:git-mailmap[1] -> linkgit:gitmailmap[5] everywhere.  I
did that while requeuing and reintegrating 'seen' for today's
pushout, so unless there are other things to be updated, no need to
resend.

Thanks.

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

* RE: [PATCH] send-email: document --mailmap and associated configuration
  2024-09-24 21:45   ` Junio C Hamano
@ 2024-09-24 23:15     ` Keller, Jacob E
  2024-09-24 23:23       ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: Keller, Jacob E @ 2024-09-24 23:15 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git@vger.kernel.org, Jacob Keller



> -----Original Message-----
> From: Junio C Hamano <gitster@pobox.com>
> Sent: Tuesday, September 24, 2024 2:45 PM
> To: Keller, Jacob E <jacob.e.keller@intel.com>
> Cc: git@vger.kernel.org; Jacob Keller <jacob.keller@gmail.com>
> Subject: Re: [PATCH] send-email: document --mailmap and associated
> configuration
> 
> Junio C Hamano <gitster@pobox.com> writes:
> 
> > Jacob Keller <jacob.e.keller@intel.com> writes:
> >
> >> +sendemail.mailmap.blob::
> >> +	Like `sendemail.mailmap.file`, but consider the value as a reference
> >> +	to a blob in the repository. Entries in `sendemail.mailmap.file`
> >> +	take precedence over entries here. See linkgit:git-mailmap[1].
> >
> > No such documentation page git-mailmap[1] exists, hence this breaks
> > "make check-docs".
> 
> IOW linkgit:git-mailmap[1] -> linkgit:gitmailmap[5] everywhere.  I
> did that while requeuing and reintegrating 'seen' for today's
> pushout, so unless there are other things to be updated, no need to
> resend.
> 
> Thanks.

Ah, yes. Thanks for fixing!

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

* Re: [PATCH] send-email: document --mailmap and associated configuration
  2024-09-24 23:15     ` Keller, Jacob E
@ 2024-09-24 23:23       ` Junio C Hamano
  0 siblings, 0 replies; 8+ messages in thread
From: Junio C Hamano @ 2024-09-24 23:23 UTC (permalink / raw)
  To: Keller, Jacob E; +Cc: git@vger.kernel.org, Jacob Keller

"Keller, Jacob E" <jacob.e.keller@intel.com> writes:

>> -----Original Message-----
>> From: Junio C Hamano <gitster@pobox.com>
>> Sent: Tuesday, September 24, 2024 2:45 PM
>> To: Keller, Jacob E <jacob.e.keller@intel.com>
>> Cc: git@vger.kernel.org; Jacob Keller <jacob.keller@gmail.com>
>> Subject: Re: [PATCH] send-email: document --mailmap and associated
>> configuration
>> 
>> Junio C Hamano <gitster@pobox.com> writes:
>> 
>> > Jacob Keller <jacob.e.keller@intel.com> writes:
>> >
>> >> +sendemail.mailmap.blob::
>> >> +	Like `sendemail.mailmap.file`, but consider the value as a reference
>> >> +	to a blob in the repository. Entries in `sendemail.mailmap.file`
>> >> +	take precedence over entries here. See linkgit:git-mailmap[1].
>> >
>> > No such documentation page git-mailmap[1] exists, hence this breaks
>> > "make check-docs".
>> 
>> IOW linkgit:git-mailmap[1] -> linkgit:gitmailmap[5] everywhere.  I
>> did that while requeuing and reintegrating 'seen' for today's
>> pushout, so unless there are other things to be updated, no need to
>> resend.
>> 
>> Thanks.
>
> Ah, yes. Thanks for fixing!

Thanks for updating the documentation.

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

* Re: [PATCH] send-email: document --mailmap and associated configuration
@ 2024-09-29  6:51 Crystal M Baker
  0 siblings, 0 replies; 8+ messages in thread
From: Crystal M Baker @ 2024-09-29  6:51 UTC (permalink / raw)
  To: gitster; +Cc: git, jacob.e.keller, jacob.keller


Sent from my iPhone

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

* Re: [PATCH] send-email: document --mailmap and associated configuration
@ 2024-09-29  6:51 Crystal M Baker
  0 siblings, 0 replies; 8+ messages in thread
From: Crystal M Baker @ 2024-09-29  6:51 UTC (permalink / raw)
  To: gitster; +Cc: git, jacob.e.keller, jacob.keller


Sent from my iPhone

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

end of thread, other threads:[~2024-09-29  6:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23 22:24 [PATCH] send-email: document --mailmap and associated configuration Jacob Keller
2024-09-24  5:29 ` Junio C Hamano
2024-09-24 21:41 ` Junio C Hamano
2024-09-24 21:45   ` Junio C Hamano
2024-09-24 23:15     ` Keller, Jacob E
2024-09-24 23:23       ` Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2024-09-29  6:51 Crystal M Baker
2024-09-29  6:51 Crystal M Baker

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