Re: tool to diff cache <-> working directory
- From
- Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
- Date
- May 6, 2005, 02:07 UTC
- Message-ID
- <20050506020759.GA11506@cip.informatik.uni-erlangen.de>
- In-Reply-To
- <7vhdhhf88u.fsf@assigned-by-dhcp.cox.net>
Hello,
> git-diff-tree tree1 tree2 two trees > git-diff-cache --cached tree1 cache and tree > git-diff-cache tree1 tree and working directory > git-diff-files cache and working directory
that makes it clear. Thanks.
> So git-diff-files is not just similar to but exactly is what you > want if I read your question correctly.
Yes, it is. :-)
> Yes there is a way, git-write-blob, but why would you want to do > that?
I thought there would be no cache<->working directory delta generation. And I need a way to see if there are unchecked-in deltas in the working tree. So I thought about looking at the 'git-diff-cache --cached tree1' and comparing it with the self generated SHAs of the working tree. But now, that there is such a tool, I am perfectly fine.
Thanks, Thomas