Re: [RFC] git-add update with all-0 object

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Barkalow
Date: Friday, December 1, 2006 - 1:10 am

On Thu, 30 Nov 2006, Theodore Tso wrote:


My position on this subject is that "index" is a good name, but that 
description is a terrible description, and "index" is a word that needs a 
good description in context. If we just said up front:

 Git's "index" is a staging area that you use to prepare commits. It maps 
 filenames to content. It allows git to remember changes you want to put 
 into the next commit while you do more work. For normal commits, it is 
 not necessary to use the index, but it is very helpful for complicated 
 commits, because it lets you focus on the part you're still working on 
 while git remembers the part you're done with.

I think people would get it. (If it were called the "cache" still, it 
would be hopeless, because "cache" implies false things; "index" doesn't 
imply anything initially.)

Of course, we'd still have to disabuse people of the notion that the index 
can store the information "there's nothing at this path yet, but I'm 
interested in it", because that's a piece of information people often know 
before a file is ready, and think git would be able to remember in a 
staging area.

	-Daniel
*This .sig left intentionally blank*
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] git-add update with all-0 object, Daniel Barkalow, (Thu Nov 30, 3:08 pm)
Re: [RFC] git-add update with all-0 object, Johannes Schindelin, (Thu Nov 30, 3:32 pm)
Re: [RFC] git-add update with all-0 object, Nicolas Pitre, (Thu Nov 30, 3:34 pm)
Re: [RFC] git-add update with all-0 object, Linus Torvalds, (Thu Nov 30, 3:46 pm)
Re: [RFC] git-add update with all-0 object, Daniel Barkalow, (Thu Nov 30, 5:12 pm)
Re: [RFC] git-add update with all-0 object, Theodore Tso, (Thu Nov 30, 9:57 pm)
Re: [RFC] git-add update with all-0 object, Junio C Hamano, (Thu Nov 30, 11:20 pm)
Re: [RFC] git-add update with all-0 object, Linus Torvalds, (Fri Dec 1, 12:10 am)
Re: [RFC] git-add update with all-0 object, Daniel Barkalow, (Fri Dec 1, 1:10 am)
Re: [RFC] git-add update with all-0 object, Andy Parkins, (Fri Dec 1, 2:37 am)