Code

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)
commit129adf4d668d04c875bfd7207ba60547b066d5af
tree0d7c7c4a4eccc9d9bd9bc269ffae3f30ac0343ee
parent8548ea8ded0d7025f2540ce8d4648dbf76065d3a
git-rev-list: fix "--dense" flag

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>
rev-list.c