From: Junio C Hamano Date: Fri, 06 May 2005 01:33:53 GMT Subject: Re: tool to diff cache <-> working directory Message-ID: <7vhdhhf88u.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20050506002347.GU20994@cip.informatik.uni-erlangen.de> >>>>> "TG" == Thomas Glanzmann writes: TG> Is there a tool to compare cache with working directory TG> similiar to diff-tree, diff-cache and diff-files? 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 So git-diff-files is not just similar to but exactly is what you want if I read your question correctly. TG> Or is there a way to find out the SHA checksum of a file in TG> a working directory without adding it to a temporary cache? Yes there is a way, git-write-blob, but why would you want to do that?