You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
I am trying to get a commit object using a short hash value, the code below does not work: repo.CommitObject(plumbing.NewHash("abc123"))
This assumes that there is a full hash that starts with abc123.....
Is there a way, short of iterating repo.CommitObjects(), to do what I wanted?
The text was updated successfully, but these errors were encountered:
Short hash are kind of porcelain operations, for the users, since this is a library to be used programmatically, the use of short hashes is not very useful.
But will be great having a function to search this, if someone requires to resolve short hashes.
I am trying to get a commit object using a short hash value, the code below does not work:
repo.CommitObject(plumbing.NewHash("abc123"))
This assumes that there is a full hash that starts with abc123.....
Is there a way, short of iterating repo.CommitObjects(), to do what I wanted?
The text was updated successfully, but these errors were encountered: