Thread (1 message) 1 message, 1 author, 2016-06-15

Re: A few usability question about git diff --cached

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:43:39

"J. Bruce Fields" [off-list ref] writes:
quoted
The stat-information, and sha1sum are actually a cache, but they don't
have to be user-visible, except for speed.
That's a big exception.--b.
Speed _is_ important, of course. But the user only benefits from
speed, he doesn't have to manipulate it explicitely. I may be
repeating myself, but "diff --cached" doesn't mean "diff using the
stat-cache", it means "diff using the cached _content_", which is
really unrelated from the stat-cache.

Mercurial also has fast diff (perhaps a bit slower that git, but same
order of magnitude), and has no user-visible index.

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