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

Re: [PATCH] config: respect '~' and '~user' in mailmap.file

From
Jeff King <peff@peff.net>
Date
May 27, 2014, 16:09 UTC
Message-ID
<20140527160939.GA29693@sigill.intra.peff.net>
In-Reply-To
<1401180358-27281-1-git-send-email-oystwa@gmail.com>
On Tue, May 27, 2014 at 10:45:58AM +0200, Øystein Walle wrote:
> git_config_string() does not handle '~' and '~user' as part of the
> value. Using git_config_pathname() fixes this.

Makes sense. Curious if there was a reason we did not use it in the first place, I looked at the history. The reason is that mailmap.file was added in d551a48 (2009-02-08) and git_config_pathname came months later in 395de25 (2009-11-17). Retro-fitting it now should not cause a problem for any sane paths. So:

Reviewed-by: Jeff King <peff@peff.net>
-Peff
Previous: Øystein WalleNext: Øystein Walle
Message 2 of 3 in “config: respect '~' and '~user' in mailmap.file”
  1. config: respect '~' and '~user' in mailmap.fileØystein Walle, May 27, 2014
  2. Jeff KingMay 27, 2014
  3. Øystein WalleMay 27, 2014

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.