Keep STATUS in HEAD up to date.