go-git
go-git copied to clipboard
Fix type error in example
This change passes the type plumbing.ReferenceName to the plumbing.NewHashReference.
I stumbled upon this error while using the example. If this isn't
correct, I'm curious what I should do instead. It appears the type
plumbing.ReferenceName is just an type alias to string.