Re: Call Me Gitless

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

Thanks for pointing me to 'git-rm --cached'.

> The changes are "cached" in the "Index". But I wouldn't name
> the "Index" really a "Cache" because it is a lot more. All
> comments for --cached in the manpages mention the Index
> mechanism. Additionally there is a more detailed introduction
> to the Index in section 7 (Git concepts) of the Git User's
> Manual

Funny the first example shows the contents of the index using a '--stage' flag.

$ git ls-files --stage
...
Note that in older documentation you may see the index called the
"current directory cache" or just the "cache".

http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#the-index

To my ear, the term cache is a volatile space used for optimization,
while an index is a pointer or reference within a data structure.
Neither are obvious concerns of an end user and using both terms is
plain confusing. Staging implies something more tangible and useful to
the end user.

Cheers,
Alex

-- 
[ alex@xxxxxxxxxx ][ http://genaud.net ]
[ B068 ED90 F47B 0965 2953 9FC3 EE9C C4D5 3E51 A207 ]
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux