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

Re: [Query] Can we ignore case for commiters name in shortlog?

From
Max Horn <max@quendi.de>
Date
Nov 30, 2012, 11:19 UTC
Message-ID
<C9C7BAF7-D552-41CF-B45D-413B9B69C054@quendi.de>
In-Reply-To
<CAKohponGXq=P88Y=cmUPbRCeJ--VkMvJyw5th1T-WdGQnn4xWg@mail.gmail.com>
On 30.11.2012, at 04:35, viresh kumar wrote:
Show 12 quoted lines
> On 30 November 2012 09:03, Nicolas Pitre <nicolas.pitre@linaro.org> wrote:
> 
>> Have a look at the .mailmap file in the top directory of your repo.
> 
> Repeating what i said to David in other mail:
> 
> I have my name there :)
> 
> I thought using names with different case is actually different then misspelling
> it. And so, everybody must not be required to update their names in mailmap
> with different case. So, with same email id and same name (that may be in
> different case), we can show commits together in shortlog.
I don't see how wrong case is different from any other form of misspelling. And mailmap is there precisely to handle such problems. Now, if these case issues were for some reasons very frequent, it might be worth adding dedicated support for it. But this seems dubious to me -- do you have any evidence for this? Indeed, do you have more than just the one example?
In a nutshell, there seem to be two options here, and I know which *I* find more appealing ;)
1) continue this discussion over several emails to design a new feature (an option, config setting, whatever) to handle your special case, then sit down and write code for it, add documentation, add test cases to test it.
2) You just add a single entry to your mailmap to solve your problem at hand. :-)

Cheers, Max

Previous: Viresh KumarNext: Viresh Kumar
Message 7 of 9 in “[Query] Can we ignore case for commiters name in shortlog?”
  1. viresh kumarNov 30, 2012
  2. David AguilarNov 30, 2012
  3. Viresh KumarNov 30, 2012
  4. Damien RobertNov 30, 2012
  5. Nicolas PitreNov 30, 2012
  6. Viresh KumarNov 30, 2012
  7. Max HornNov 30, 2012
  8. Viresh KumarNov 30, 2012
  9. Andreas SchwabNov 30, 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.