On Mon, 06 Apr 2009 11:30:54 -0700, Junio C Hamano <gitster@xxxxxxxxx> wrote:
- when you want to work with the index, you say --cached; - when you want to work with both the index and the work tree at the same time, you say --index.
This is where I also think the options are messed up. If I want to work with the "index", shouldn't I use... uhh... "--index"? If I want to work with both, shouldn't I use something like "--both"? "And if --index works with the workcopy and index, will --cache use both, the workcopy and the cache?" To a new user like me, these options don't look like they refer to different actions, but to different existing things. Those options say that there is an index, and there is a cache. (Now I learned all of this through reading the docs which is not hard, but reading this from the man pages is not intuitive at all.) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html