git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Junio C Hamano
Message 5 of 5 in “index manipulation quickref”
  1. Nguyen Thai Ngoc DuyDec 12, 2006
  2. Jakub NarebskiDec 12, 2006
  3. Santi BéjarDec 12, 2006
  4. Junio C HamanoDec 12, 2006
  5. Nguyen Thai Ngoc DuyDec 12, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.