Support diffing to other commits via PREV_COMMIT

We now read it from an enviornment variable