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

Re: [PATCH v2] t1016: clean up style

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 3, 2024, 23:42 UTC
Message-ID
<xmqqcyjbyjdg.fsf@gitster.g>
In-Reply-To
<66df52dd-1b7c-4ca8-9752-646b5b223feb@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 9 quoted lines
>> +	test_expect_success $PREREQ "Verify ${type} ${name}'s sha1 oid" '
>> +		git --git-dir=repo-sha256/.git rev-parse --output-object-format=sha1
>> ${sha256_oid} >${name}_sha1 &&
>> +		test_cmp ${name}_sha1 ${name}_sha1_expected
>> +	'
>
> At this point it _looks like_ some `test_expect_success` are moved
> around.  But my diff deceives me: all of the eight `test_` are provided
> in the same order in the preimage and postimage.

Yes, the output from "git show --histogram" seems to match the corresponding blocks in preimage and postimage better in this case.

Thanks, both.
Previous: Kristoffer HaugsbakkNext: Kristoffer Haugsbakk
Message 7 of 8 in “t1016: clean up style”
  1. t1016: clean up styleAndrew Kreimer, Nov 2, 2024
  2. Kristoffer HaugsbakkNov 2, 2024
  3. Junio C HamanoNov 3, 2024
  4. Andrew KreimerNov 3, 2024
  5. t1016: clean up styleAndrew Kreimer, Nov 3, 2024
  6. Kristoffer HaugsbakkNov 3, 2024
  7. Junio C HamanoNov 3, 2024
  8. Kristoffer HaugsbakkNov 4, 2024

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.