go-git icon indicating copy to clipboard operation
go-git copied to clipboard

Fix type error in example

Open sholsapp opened this issue 3 years ago • 0 comments

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.

sholsapp avatar Oct 10 '22 00:10 sholsapp