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

Re: [PATCH v2] ls-files: Add eol diagnostics

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Nov 1, 2015, 08:43 UTC
Message-ID
<5635D0B1.9040800@gmail.com>
In-Reply-To
<vpqbnbfpc6p.fsf@anie.imag.fr>
On 31.10.2015 11:25, Matthieu Moy wrote:
Show 10 quoted lines
>> ca:text-no-eol   wt:text-no-eol   t/t5100/empty
>> ca:binary        wt:binary        t/test-binary-2.png
>> ca:text-lf       wt:text-lf       t/t5100/rfc2047-info-0007
>> ca:text-lf       wt:text-crlf     doit.bat
>> ca:text-crlf-lf  wt:text-crlf-lf  locale/XX.po
> 
> I would spell the first "in" or "idx" (for "index"), not "ca" (for
> "cache"). I think we avoid talking about "the cache" these days even
> though the doc sometimes says "cached in the index" (i.e. use "cache" as
> a verb, not a noun).
Good point, I'd prefer "idx" over ca", too.
However, the commit message says "to check if text files are stored normalized in the *repository*", yet the output refers to the index / cache. Is there a (potential) difference between line endings in the index and repo? AFAIK there is not. Any I find it a bit confusing to refer to the index where, as e.g. for a freshly cloned repo the index should be empty, yet you do have specific line endings in the repo.
Long story short, how about consistently talking about line endings in the repo, and also using "repo" instead of "ca" here?
-- 
Sebastian Schuberth
Previous: Matthieu MoyNext: Matthieu Moy
Message 3 of 7 in “ls-files: Add eol diagnostics”
  1. ls-files: Add eol diagnosticsTorsten Bögershausen, Oct 31, 2015
  2. Matthieu MoyOct 31, 2015
  3. Sebastian SchuberthNov 1, 2015
  4. Matthieu MoyNov 1, 2015
  5. Sebastian SchuberthNov 1, 2015
  6. Junio C HamanoNov 1, 2015
  7. Matthieu MoyNov 1, 2015

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.