only accept the latest commit