Merge pull request #4159 from richardipsum/notes-commit Support using notes via a commit rather than a ref