From: Greg Troxel Date: Thu, 06 May 2010 18:38:31 GMT Subject: Re: Any way to get complete diff up to a tag? Message-ID: In-Reply-To: Linus Torvalds writes: > Well, you don't strictly speaking have to "remember" it, you can always > just re-generate it. The most straightforward way to do that is probably > > git hash-object -t tree --stdin < /dev/null > > although I admit that maybe we could have some syntax for "git diff" that > would do the "diff against empty tree" automatically. It does seem to be > conceptually a reasonable thing to do. How about git diff empty.. as if empty is a tag for the empty revision? It works for 'git checkout' already.