Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: Call Me Gitless

From: Mark Struberg <hidden>
Date: 2016-06-15 22:45:11

Hi Alex!
--- Alexander E Genaud <alex@genaud.net> schrieb am Di, 19.8.2008:
Von: Alexander E Genaud [off-list ref]
Betreff: Re: Call Me Gitless
An: "Junio C Hamano" [off-list ref]
CC: "Peter Valdemar Mørch (Lists)" <redacted>, git@vger.kernel.org
Datum: Dienstag, 19. August 2008, 10:57
...
Remote never seems to do what I expect, so I manually edit
the .git/refs!! 
Nor is git-reset what I expect and use git
checkout (which
does make sense only after a few backup trials). Git-add
adds to the
index but does not create, however git-rm removes from the
index and
does delete (an --index-only or --keep flag might be nice).
This is explicitely stated in the git-rm manpages: --cached:  Use this option to unstage and remove paths only from the index. Working tree files, whether modified or not, will be left alone.

A single term for cache and index should be decided upon.
git diff --cached is not intuitive when 'index' is used
throughout the documentation. 
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 

LieGrue,
strub

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help