git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] mailmap: support reading mailmap from blobs

From
Jeff King <peff@peff.net>
Date
Dec 13, 2012, 13:08 UTC
Message-ID
<20121213130812.GA4900@sigill.intra.peff.net>
In-Reply-To
<20121212110404.GB19653@sigill.intra.peff.net>
On Wed, Dec 12, 2012 at 06:04:04AM -0500, Jeff King wrote:
Show 5 quoted lines
> In a bare repository, there isn't a simple way to respect an
> in-tree mailmap without extracting it to a temporary file.
> This patch provides a config variable, similar to
> mailmap.file, which reads the mailmap from a blob in the
> repository.

While preparing the "default mailmap.blob" patch, I noticed a few loose ends in the documentation. They can be squashed into this 2/2 (jk/mailmap-from-blob~1), or can go on top of the series:

-- >8 --
Subject: [PATCH] fix some documentation loose-ends for mailmap.blob

Anywhere we mention mailmap.file, it is probably worth mentioning mailmap.blob, as well.

Signed-off-by: Jeff King <peff@peff.net>
---
 Documentation/git-log.txt | 2 +-
 Documentation/mailmap.txt | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 585dac4..08a185d 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -167,7 +167,7 @@ log.showroot::
 	`git log -p` output would be shown without a diff attached.
 	The default is `true`.
 
-mailmap.file::
+mailmap.*::
 	See linkgit:git-shortlog[1].
 
 notes.displayRef::
diff --git a/Documentation/mailmap.txt b/Documentation/mailmap.txt
index 288f04e..bb349c2 100644
--- a/Documentation/mailmap.txt
+++ b/Documentation/mailmap.txt
@@ -1,5 +1,6 @@ If the file `.mailmap` exists at the toplevel of the repository, or at
 If the file `.mailmap` exists at the toplevel of the repository, or at
-the location pointed to by the mailmap.file configuration option, it
+the location pointed to by the mailmap.file or mailmap.blob
+configuration options, it
 is used to map author and committer names and email addresses to
 canonical real names and email addresses.
 
-- 
1.8.0.2.4.g59402aa
Previous: Jeff KingNext: Junio C Hamano
Message 5 of 9 in “mailmap from blobs”
  1. 0/2 mailmap from blobsJeff King, Dec 12, 2012
  2. 1/2 mailmap: refactor mailmap parsing for non-file sourcesJeff King, Dec 12, 2012
  3. 2/2 mailmap: support reading mailmap from blobsJeff King, Dec 12, 2012
  4. 3/2 mailmap: clean up read_mailmap error handlingJeff King, Dec 12, 2012
  5. Jeff KingDec 13, 2012
  6. Junio C HamanoDec 12, 2012
  7. Jeff KingDec 12, 2012
  8. Jeff KingDec 13, 2012
  9. Junio C HamanoDec 13, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.