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

Re: Update index with a pickaxed diff

From
Thomas Rast <trast@student.ethz.ch>
Date
Dec 29, 2010, 13:54 UTC
Message-ID
<201012291454.52160.trast@student.ethz.ch>
In-Reply-To
<AANLkTi=BJ-8FaN+rk6_74mgM0PVzVP5uhV3aO1A3jUS3@mail.gmail.com>
Jeenu V wrote:
> I'd like to know if there's a quick way of updating the index with the
> output of 'git diff -S<expr>'.
git diff <whatever> | git apply --cached
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Jeenu V
Message 2 of 2 in “Update index with a pickaxed diff”
  1. Jeenu VDec 29, 2010
  2. Thomas RastDec 29, 2010

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.