Re: Call Me Gitless

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

 



Hi Alex!

--- Alexander E Genaud <alex@xxxxxxxxxx> schrieb am Di, 19.8.2008:

> Von: Alexander E Genaud <alex@xxxxxxxxxx>
> Betreff: Re: Call Me Gitless
> An: "Junio C Hamano" <gitster@xxxxxxxxx>
> CC: "Peter Valdemar Mørch (Lists)" <4ux6as402@xxxxxxxxxxxxxx>, git@xxxxxxxxxxxxxxx
> 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 
--
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