src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.9k stars 540 forks source link

checkout commit requires full commit hash #1156

Open therishidesai opened 5 years ago

therishidesai commented 5 years ago

I was trying to use the checkout feature and noticed that if I am trying to checkout a specific commit I have to give the full commit hash not a shortened version of it. Is there anyway of using a shortened commit hash?