Closed
Description
So I've written an app that does (I think) something cool, and I want to display these fabulous results to the user in a way that is familiar to them. But they are not used to seeing the full-length hex oids. I want to give them the abbreviated ones they are used to. I could (and actually did) write my own abbrev
function, but it is impossible to pick a value that works for every repo out there. I looked a little bit at the code and it seems it would be easy to add Object_short_id{__doc__,__get__}
that calls the function mentioned in the title of this issue - but I lack the experience to be confident enough to write up a pull request... Hopefully someone out there can take a few minutes to flesh out this idea? Thanks!