git-rev-list: fix "--dense" flag
authorLinus Torvalds <torvalds@osdl.org>
Tue, 25 Oct 2005 18:50:46 +0000 (11:50 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 26 Oct 2005 05:53:24 +0000 (22:53 -0700)
Right now --dense will _always_ show the root commit. I didn't do the
logic that does the diff against an empty tree. I was lazy.

This patch does that. The first round was incorrect but
this patch is even slightly tested, and might do a better job.

Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found