Merge "[repo view] Ensure the correct commits are compared for Refs"