Making a commit reference work?