Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: [1.8.0] use 'stage' term consistently

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:53:45

On Sun, May 6, 2012 at 12:26 PM, Matthieu Moy
[off-list ref] wrote:
Felipe Contreras [off-list ref] writes:
* Currenly, "index" and "staging area" are not exactly synonyms. When
 used with "git add" and "git commit" (without -a), the index is the
 staging area for the next commit. But when used by "git merge", the
 index is more a "merging area".
And what is the difference? The result of the 'merging area' is still a commit.
About the name, an alternative to "stage" was suggested earlier:
"precommit". If we were to rewrite Git from scratch, I'd argue in favor
of this one, which is really easy to understand, especially for
non-native (you really need to know what a "commit" is to use Git, and
then infering the meaning of precommit is easy). But we probably have
already a too long history of changing the name, so introducing yet
another one is perhaps counter-productive. I don't know.
I don't know, precommit is not an English word, and it was discussed
before, but not many people vouched for it.

Plus, it's not already widely used in the interwebs documentation as
staging area is.

Cheers.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help