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

RE: [Failure] Re: git 2.40.0-rc1

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Mar 2, 2023, 20:08 UTC
Message-ID
<001e01d94d42$c5213b50$4f63b1f0$@nexbridge.com>
In-Reply-To
<xmqq356mkjp1.fsf@gitster.g>
On Thursday, March 2, 2023 3:00 PM, Junio C Hamano wrote:
Show 41 quoted lines
><rsbecker@nexbridge.com> writes:
>
>> On Thursday, March 2, 2023 1:44 PM, Junio C Hamano wrote:
>>><rsbecker@nexbridge.com> writes:
>>>
>>>> Git 2.40.0-rc2 was a regression from rc1. The following new tests failed:
>
>I think you are reporting -rc1 relative to -rc0.
>
>>>> t3206 - virtually all subtests failed. An example of this failure is
>>>> a results comparison in subtest 1 (seemingly relating to abbreviation):
>>>> + test_cmp expect actual
>>>> --- expect      2023-03-02 16:39:23 +0000
>>>> +++ actual      2023-03-02 16:39:23 +0000
>>>> @@ -1,4 +1,4 @@
>>>> -1:  4de457d = 1:  35b9b25 s/5/A/
>>>> -2:  fccce22 = 2:  de345ab s/4/A/
>>>> -3:  147e64e = 3:  9af6654 s/11/B/
>>>> -4:  a63e992 = 4:  2901f77 s/12/B/
>>>> +1:  4de457d2c0d218f48d66f45f9b30f3aa62562105 = 1:
>>>> 35b9b25f76d404d09a23e6c8efa96c3ce19e19aa s/5/A/
>>>
>>>Are any big endian machines involved?
>>>
>>>cf. https://lore.kernel.org/git/Y%2F+paI8WGSmEbv%2Fw@pobox.com/
>>
>> Oh yes. All NonStop variants are big-endian. That hasn't changed the
>> SHA-1 signatures though.
>
>There is a stupid sequence that slipped through the review
>
>	char c = structPtr->intMember;
>
>	if (c < 0)
>		... do something ...
>
>and where "char" is "unsigned char", the compiler thinks "do something" will never
>trigger and from there everything goes haywire.
>
>The tip of 'master' already has a fix (and no other changes as of this writing), and
>will be part of -rc2.

Thank you for the really fast fix on this 😊. --Randall

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “[Failure] Re: git 2.40.0-rc1”
  1. rsbecker@nexbridge.comMar 2, 2023
  2. Junio C HamanoMar 2, 2023
  3. rsbecker@nexbridge.comMar 2, 2023
  4. Junio C HamanoMar 2, 2023
  5. rsbecker@nexbridge.comMar 2, 2023
  6. Junio C HamanoMar 2, 2023
  7. Junio C HamanoMar 2, 2023

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.