added basic check that startrev and endrev are not GIT_REV_ZERO