-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get the short hash of a commit ? #273
Comments
Sorry, that feature is not supported in git2r. |
not yet, or is there a reason not to ? I mean would you accept a PR for instance ? |
A PR would be much appreciated 👍 |
ok. What I'm not sure to understand, is do I need to add all current OIDs in the repository tree in the |
@kforner did you find a solution how to extract the short hash? |
I did not manage to figure out how to get the short hash of a commit.
I can get it manually via:
git rev-parse --short my_commit
.Is there a way using git2r ?
Thanks
The text was updated successfully, but these errors were encountered: