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

Re: [PATCH RFC] t0027: check the eol conversion warnings

From
Torsten Bögershausen <tboegi@web.de>
Date
Nov 21, 2014, 12:37 UTC
Message-ID
<546F31F1.5050701@web.de>
In-Reply-To
<xmqqr3wx1oth.fsf@gitster.dls.corp.google.com>
On 20.11.14 23:37, Junio C Hamano wrote:
Show 18 quoted lines
>
> ---
> At a glance it is very hard to see what we might be _losing_ with this
> change that claims to "add" new kinds of tests on top of existing ones.
>
> I am guessing that add-check-warn roughly corresponds to the old
> create-file-in-repo but they have different calling conventions, or
> something?
>
> Perhaps split it into two patches (or more), each of which does one
> thing and one thing well?  I suspect that even with a two-patch
> split (e.g. the first of which only renames the function without
> adding the new "grep in error messages that could be localized and
> give false failures" code, and the second adds the lf/crlf stuff)
> might make this at least readable.
>
> I dunno.
>

We shouldn't loose anything. The diff is hard to read, as some code is re-defined and re-used (and a diff side-by-side looks nicer than the patch)

I will come back with a new commit message, which should explain things better ( or a 2-stepped patch)

The long term idea is to improve the gray areas in convert.c, and to do that we need a reliable test frame work, to see what is improved or broken.

Previous: Junio C Hamano
Message 3 of 3 in “t0027: check the eol conversion warnings”
  1. t0027: check the eol conversion warningsTorsten Bögershausen, Nov 20, 2014
  2. Junio C HamanoNov 20, 2014
  3. Torsten BögershausenNov 21, 2014

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.