Code

revision: make tree comparison functions take commits rather than trees
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 3 Nov 2008 18:45:41 +0000 (10:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Nov 2008 08:08:12 +0000 (00:08 -0800)
commit3a5e860815010e362c746aedf7981e9b3b9a69e8
treef3e6a63d48e3e85f49bcd7a89fc5ffe7ca63d9de
parent0f3a290b89b89bb5375cf5019b067e4a99f02620
revision: make tree comparison functions take commits rather than trees

This will make it easier to do various clever things that don't depend
on the pure tree contents.  It also makes the parameter passing much
simpler - the callers doesn't really look at trees anywhere else, and
it's really the function that should look at the low-level details.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c