make the previous optimization work also on path-limited rev-list --bisect
authorJunio C Hamano <junkio@cox.net>
Sat, 24 Mar 2007 00:54:03 +0000 (17:54 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 24 Mar 2007 06:38:32 +0000 (23:38 -0700)
commit1daa09d9a833d3969b64e763865a58df56bc3871
tree42a945690e5e6c41870d7dfa8a6082e82687a29d
parent2a4646904a3766abeca7741f15a481d79e97e9e7
make the previous optimization work also on path-limited rev-list --bisect

The trick is to give a child commit that is not tree-changing
the same depth as its parent, so that the depth is propagated
properly along strand of pearls.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-rev-list.c