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, 20:17 UTC
Message-ID
<CAHGBnuOicaQEYB21usR3pnVQOE_d+k5mYadxVmqociLFZZtAfg@mail.gmail.com>
In-Reply-To
<vpqmvuxzhot.fsf@anie.imag.fr>

On Sun, Nov 1, 2015 at 7:40 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:

Show 7 quoted lines
>> 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,
>
> No it is not. The index is a complete snapshot of your working tree.
> When you have no uncommited staged changes, the index contains all files
> that are in HEAD. Most commands show you _changes_ in the index (wrt
> HEAD or wrt the working tree), but the index itself contain all files.
Thanks for the info.
> At stage 4), you really want to see the content of the index, because
> your HEAD is still broken.
Ok, I'm convinced. Thanks again!
-- 
Sebastian Schuberth
Previous: Matthieu MoyNext: Junio C Hamano
Message 5 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.