Avoid sending commits that are already present on the client