revision.c: don't inspect uninteresting commits for cherry

NEEDS TESTS!!!

Signed-off-by: John Keeping <john@keeping.me.uk>
revision.c: apply ancestry path before cherry

NEEDS TESTS!!!

Signed-off-by: John Keeping <john@keeping.me.uk>