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

Re: [PATCH] doc: Modify git-add doc to say "staging area"

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Dec 14, 2017, 19:41 UTC
Message-ID
<87tvwtayh3.fsf@evledraar.gmail.com>
In-Reply-To
<xmqqk1xpta93.fsf@gitster.mtv.corp.google.com>
On Thu, Dec 14 2017, Junio C. Hamano jotted:
Show 6 quoted lines
> Stefan Beller <sbeller@google.com> writes:
>
>> Anyway I think spending list band width on good documentation is
>> not bandwidth wasted.
>
> I agree with that.  I do not consider the proposed change "good".

The case you're talking about upthread is something which we could describe in the docs as "the starting point of the staging area is that it's equivalent to the current commit, and is thus used as an index/cache by various commands", if that ever comes up.

I think in the vast majority of other cases talking about it as the staging area would be an improvement, since that's the function that has the closest correspondence to what the UI is actually doing, that we're using it as a cache / index is usually (always?) an implementation detail.

Even the merge case you mentioned is something where staging area makes more sense: "We tried to merge, but had a conflict, we've staged some of your changes leaving the rest for you to sort out".

Previous: Junio C HamanoNext: Junio C Hamano
Message 12 of 15 in “doc: Modify git-add doc to say "staging area"”
  1. doc: Modify git-add doc to say "staging area"David A. Wheeler, Dec 13, 2017
  2. Jacob KellerDec 13, 2017
  3. David A. WheelerDec 13, 2017
  4. Ævar Arnfjörð BjarmasonDec 13, 2017
  5. David A. WheelerDec 14, 2017
  6. Ævar Arnfjörð BjarmasonDec 14, 2017
  7. Junio C HamanoDec 14, 2017
  8. Stefan BellerDec 14, 2017
  9. Junio C HamanoDec 14, 2017
  10. David A. WheelerDec 14, 2017
  11. Junio C HamanoDec 14, 2017
  12. Ævar Arnfjörð BjarmasonDec 14, 2017
  13. Junio C HamanoDec 13, 2017
  14. David A. WheelerDec 13, 2017
  15. Stefan BellerDec 14, 2017

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.