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

Re: [PATCH] mailmap: Testing the single letter name case.

From
Stefan Beller <stefanbeller@googlemail.com>
Date
Jul 13, 2013, 18:14 UTC
Message-ID
<51E198FC.5080005@googlemail.com>
In-Reply-To
<7v8v1aicn5.fsf@alter.siamese.dyndns.org>
On 07/13/2013 07:38 PM, Junio C Hamano wrote:
Show 23 quoted lines
> Stefan Beller <stefanbeller@googlemail.com> writes:
> 
>> This is a regression test for a66e77eab70a08938fdc2227b7ada0f0465c6991
> 
> Sorry, I do not quite get this.
> 
> If you apply the patch on top of the said commit before that commit, the
> new test does not pass.
> 
> But if you apply the patch on top of the said commit, the new test
> still does not pass.
> 
> So I am having hard time guessing what you meant by "regression
> test".  It is not "a66e77 broke something that ought to work, and
> this shows the breakage".  It is not "a66e77 fixed something and
> this shows the previous breakage that got fixed."
> 
> It may be because the test is depending on ShortName not to be
> downcased incorrectly, which was to be fixed by a later commit.  But
> after applying this on top of jc/mailmap-case-insensitivity topic,
> the test does not pass (and reverting a66e77 does not seem to affect
> the result, either).
> 
I am sorry for the bad wording, sorry for wasting your time.

This patch was meant to replace 134d1ac9be2ce97c60a7e9187c32980681811cb5 (current test, latest commit on mailmap-case-insensitivity)

Indeed the patch tests for both bugs unintentionally. So both the one letter name is being used and the email case sensitivity is checked. So maybe I should redo it again and make 2 explicit test cases for each of the fixes?

Stefan
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 14 in “Microfixes to mailmap”
  1. 0/4 Microfixes to mailmapJunio C Hamano, Jul 12, 2013
  2. 1/4 mailmap: do not lose single-letter namesJunio C Hamano, Jul 12, 2013
  3. mailmap: Testing the single letter name case.Stefan Beller, Jul 13, 2013
  4. Junio C HamanoJul 13, 2013
  5. Stefan BellerJul 13, 2013
  6. Junio C HamanoJul 13, 2013
  7. Eric SunshineJul 15, 2013
  8. Junio C HamanoJul 15, 2013
  9. Eric SunshineJul 14, 2013
  10. 2/4 mailmap: do not downcase mailmap entriesJunio C Hamano, Jul 12, 2013
  11. 3/4 mailmap: style fixesJunio C Hamano, Jul 12, 2013
  12. 4/4 add a testcase for checking case insensitivity of mailmapJunio C Hamano, Jul 12, 2013
  13. Eric SunshineJul 12, 2013
  14. Eric SunshineJul 12, 2013

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.