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

Re: [PATCH] diff: support --root --cached combination

From
Jeff King <peff@peff.net>
Date
Oct 29, 2010, 15:40 UTC
Message-ID
<20101029154051.GA3022@sigill.intra.peff.net>
In-Reply-To
<1288346087-20263-1-git-send-email-pclouds@gmail.com>
On Fri, Oct 29, 2010 at 04:54:47PM +0700, Nguyễn Thái Ngọc Duy wrote:
Show 7 quoted lines
> 
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
>  I have a ritual of doing "git dic" (short for diff --cached) before
>  committing and does not want to break it, even on new repos.
> 
>  Looks like a good thing and no harm to the rest of the world.

Hmm. What's new is old, I suppose. You might want to read the comments on my very similar patch here:

  http://thread.gmane.org/gmane.comp.version-control.git/95935/focus=96187
-Peff
Previous: Nguyễn Thái Ngọc Duy
Message 9 of 9 in “diff: support --root --cached combination”
  1. diff: support --root --cached combinationNguyễn Thái Ngọc Duy, Oct 29, 2010
  2. Jonathan NiederOct 29, 2010
  3. Nguyen Thai Ngoc DuyOct 29, 2010
  4. Junio C HamanoOct 29, 2010
  5. diff: support --cached on unborn branchesNguyễn Thái Ngọc Duy, Oct 30, 2010
  6. Junio C HamanoOct 31, 2010
  7. Nguyen Thai Ngoc DuyOct 31, 2010
  8. diff: support --cached on unborn branchesNguyễn Thái Ngọc Duy, Feb 3, 2011
  9. Jeff KingOct 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.