From: Thomas Glanzmann Date: Thu, 19 May 2005 20:38:39 GMT Subject: Re: git-diff-tree for the first commit Message-ID: <20050519203839.GJ8105@cip.informatik.uni-erlangen.de> In-Reply-To: Hello, I see. Thanks for the elaboration. I got the idea now. ;-) > That said, a new flag that says "diff the root against the NUL tree" > wouldn't be wrong either, for when that is what you want. I want it for the following scenario: My git frontend sets the time stamps of the checked-out files to the time of the last modification. That way I can do a 'ls -lart' in a sub directory and have the most recently touched files on bottom. I also want to use this for keyword expansion. I currently do it by calling more or less 'git-rev-tool HEAD' and 'git-diff-tree -r REVISION' and cache the output. However for the inital import are no 'timestamps' available. Now I can do two things. Implement a git-diff-tree flag or assume that any files which don't have a delta are imported by the initial tree. Ideas? Thomas