On Thu, Nov 30, 2006 at 07:58:09AM -0800, Linus Torvalds wrote:Well, sure, because the documentation *talks* about it as a separate entity all its own. Just look at the man page for git-diff as a great example of this, or the ascii art diagram of the index. It is all technically _correct_, but it is scary as all heck. But then why is the default for "git commit" to commit the index, if the index is almost == HEAD? And why is git-update-index given such prominence in the documentation? If everyone agrees with this, I think it would be easier to make changes to the documentation and maybe some UI tweaks about what the default might be. One suggestion is that perhaps a mode where warns users when index != HEAD for certain critical commands might not be a bad thing. That might give users that are just graduating beyond novice git usage, and just starting to become aware of the index, reassurance because if they *don't* see the warning message, they can rest assured that they don't have to do both "git diff" and "git diff HEAD", for example. - Ted - 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
| Andrew Morton | Re: Linux 2.6.21-rc4 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Balbir Singh | Re: [RFC][PATCH 2/7] RSS controller core |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Andreas Henriksson | [PATCH 06/12] Remove bogus reference to tc-filters(8) from tc(8) manpage. |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
