Store previous and current SHA
Add SHA of current revision to revisions.log