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

Re: Git for Windows v2.23.0-rc0, was Re: [ANNOUNCE] Git v2.23.0-rc0

From
Todd Zullinger <tmz@pobox.com>
Date
Aug 1, 2019, 22:18 UTC
Message-ID
<20190801221858.GN4545@pobox.com>
In-Reply-To
<xmqq5zngmtzh.fsf@gitster-ct.c.googlers.com>
Junio C Hamano wrote:
Show 11 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
> 
>> Jeff King <peff@peff.net> writes:
>>
>>>> +	if (mailmap < 0)
>>>>  		mailmap = 0;
>>>> -	}
>>>
>>> This should be "mailmap = 1" to match the commit message, no? (Which
>>> also implies we may want a new test).
>>
[...]
Show 8 quoted lines
> +test_expect_success 'log.mailmap is true by default these days' '
> +	git log --author Santa | grep Author >actual &&
> +	test_cmp expect actual
> +'
> +
>  test_expect_success 'Only grep replaced author with --use-mailmap' '
>  	git log --use-mailmap --author "<cto@coompany.xx>" >actual &&
>  	test_must_be_empty actual

With log.mailmap true by default, should we also have some tests to ensure that --no-use-mailmap and log.mailmap=False do the right thing? (I mean eventually, not necessarily with this patch as extra work for you Junio.)

(If I was certain the answer is "yes" and more familiar with t4203, I would have sent this in diff format.)

-- 
Todd
Previous: Junio C HamanoNext: Jonathan Nieder
Message 18 of 27 in “[ANNOUNCE] Git v2.23.0-rc0”
  1. Junio C HamanoJul 29, 2019
  2. Git for Windows v2.23.0-rc0, was Re: [ANNOUNCE] Git v2.23.0-rc0Johannes Schindelin, Jul 31, 2019
  3. Jeff KingJul 31, 2019
  4. Jonathan NiederAug 1, 2019
  5. Ariadne ConillAug 1, 2019
  6. Jeff KingAug 1, 2019
  7. Jonathan NiederAug 1, 2019
  8. Ariadne ConillAug 1, 2019
  9. Jeff KingAug 1, 2019
  10. Junio C HamanoAug 1, 2019
  11. Ariadne ConillAug 1, 2019
  12. Johannes SchindelinAug 1, 2019
  13. Junio C HamanoAug 1, 2019
  14. Ariadne ConillAug 1, 2019
  15. Jeff KingAug 1, 2019
  16. Junio C HamanoAug 1, 2019
  17. Junio C HamanoAug 1, 2019
  18. Todd ZullingerAug 1, 2019
  19. Jonathan NiederAug 2, 2019
  20. Junio C HamanoAug 2, 2019
  21. Jeff KingAug 2, 2019
  22. Bryan TurnerAug 1, 2019
  23. Johannes SchindelinAug 1, 2019
  24. RelNotes/2.23.0: fix a few typos and other minor issuesMartin Ågren, Aug 1, 2019
  25. Junio C HamanoAug 1, 2019
  26. Junio C HamanoAug 1, 2019
  27. Martin ÅgrenAug 1, 2019

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.