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

Re: tool to diff cache <-> working directory

From
Junio C Hamano <junkio@cox.net>
Date
May 6, 2005, 02:48 UTC
Message-ID
<7vy8atdq7i.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20050506020759.GA11506@cip.informatik.uni-erlangen.de>
>>>>> "TG" == Thomas Glanzmann <sithglan@stud.uni-erlangen.de> writes:

TG> I thought there would be no cache<->working directory delta generation. TG> And I need a way to see if there are unchecked-in deltas in the working TG> tree. So I thought about looking at the 'git-diff-cache --cached tree1' TG> and comparing it with the self generated SHAs of the working tree. But TG> now, that there is such a tool, I am perfectly fine.

Are you using pure GIT, without any Porcelain layer like Cogito?

Cogito has "cg-status" that shows something like "cvs -n update" output.

My (shameless plug ;-) JIT [*1*] also has "jit-status".

[References] *1* http://members.cox.net/junkio/

Previous: Thomas GlanzmannNext: Thomas Glanzmann
Message 4 of 5 in “tool to diff cache <-> working directory”
  1. Thomas GlanzmannMay 6, 2005
  2. Junio C HamanoMay 6, 2005
  3. Thomas GlanzmannMay 6, 2005
  4. Junio C HamanoMay 6, 2005
  5. Thomas GlanzmannMay 6, 2005

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.