A better way to handle the previous commit.