revision.c: fix "dense" under --remove-empty
authorLinus Torvalds <torvalds@osdl.org>
Sun, 2 Jul 2006 17:55:59 +0000 (10:55 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 2 Jul 2006 17:55:59 +0000 (10:55 -0700)
commit02d3dca3bff6a67dead9f5b97dfe3576fe5b14e5
tree837d51fb5afb7ad4c9a6c12ad8233024b2f07d30
parent0556a11a0df6b4119e01aa77dfb795561e62eb34
revision.c: fix "dense" under --remove-empty

It had the wrong test for whether a commit was a merge. What it did was to
say that a non-merge has exactly one parent (which sounds almost right),
but the fact is, initial trees have no parent at all, but they're
obviously not merges.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c