Re: index manipulation quickref
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Dec 12, 2006, 21:32 UTC
- Message-ID
- <fcaeb9bf0612121332m51dea9day2f18c80b94ff4d5d@mail.gmail.com>
- In-Reply-To
- <7vac1tvuyr.fsf@assigned-by-dhcp.cox.net>
On 12/13/06, Junio C Hamano <junkio@cox.net> wrote:
Show 6 quoted lines
> I think this goes in the wrong direction. For "newbies" the > Porcelain-ish set is supposed to be enough and if there is > something missing that they need to do update-index command > itself or a pipeline that involves update-index to achieve > common tasks, we should enhance Porcelain-ish that captures the > pattern.
It is supposed to be porcelain command only. I figure what operation a user may need when manipulating index, then find the corresponding porcelain command.
As you can see, we have porcelain commands for most of operations. The missing piece is reset a file in index (and maybe "git cat-file ::file" -- it's too cryptic). Hopefully "git reset -- file" will be implemented soon.