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

"stage files" vs "cached files"

From
JLJerome Lovy <t2a2e9z8ncbs9qg@brefemail.com>
Date
Oct 19, 2006, 13:45 UTC
Message-ID
<eh7vl2$unr$1@sea.gmane.org>
Hi,

after having read tutorial1+2, I thought the following were more or less synonyms: index ~ directory cache ~ staging area

But then I discover that --cache and --staged are two different things, notably when using ls-files.

The documentation states indeed:
  "--cached   Show cached files in the output"
  "--stage    Show stage files in the output"
I'm a bit confused. Is maybe a "stage file" entry missing in the glossary?

TIA for clarification/pointer. Jérôme

Next: Linus Torvalds
Message 1 of 3 in “"stage files" vs "cached files"”
  1. Jerome LovyOct 19, 2006
  2. Linus TorvaldsOct 19, 2006
  3. Andy WhitcroftOct 19, 2006

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.