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

Re: js/drop-mingw-test-cmp, was Re: What's cooking in git.git (Dec 2022, #03; Sun, 11)

From
Johannes Sixt <j6t@kdbg.org>
Date
Dec 24, 2022, 08:10 UTC
Message-ID
<3c55ac67-5090-b7af-a212-2996bad66fb2@kdbg.org>
In-Reply-To
<xmqq7cyksy88.fsf@gitster.g>
Am 21.12.22 um 14:05 schrieb Junio C Hamano:
> I know we have been operating under such a test environment, but
> after seeing the exchange between Réne and J6t, I was hoping that we
> do not have to keep being sloppy.

Things did not turn out to be as simple. After ripping out all special-casing of GIT_TEST_CMP from a MinGW build, I notice at least one case that needs special treatment (it's `tar tf` that writes CRLF output). On top of that, there are prerequisites SED_STRIPS_CR, GREP_STRIPS_CR and perhaps NATIVE_CRLF that should be reconsidered.

For the time being, I suggest to take Dscho's patch.
-- Hannes
Previous: Junio C HamanoNext: René Scharfe
Message 6 of 11 in “What's cooking in git.git (Dec 2022, #03; Sun, 11)”
  1. Junio C HamanoDec 11, 2022
  2. js/drop-mingw-test-cmp, was Re: What's cooking in git.git (Dec 2022, #03; Sun, 11)Johannes Schindelin, Dec 12, 2022
  3. Junio C HamanoDec 12, 2022
  4. Johannes SchindelinDec 20, 2022
  5. Junio C HamanoDec 21, 2022
  6. Johannes SixtDec 24, 2022
  7. René ScharfeDec 24, 2022
  8. Junio C HamanoDec 25, 2022
  9. Johannes SixtDec 25, 2022
  10. René ScharfeDec 26, 2022
  11. Junio C HamanoDec 27, 2022

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.