josa42 / atom-blame

Show git blame as a gutter in Atom editor
https://atom.io/packages/blame
MIT License
22 stars 18 forks source link

Use long hashes in Github and Bitbucket URLs #41

Closed nene closed 6 years ago

nene commented 7 years ago

While I like the short URL-s in the gutter, I think URLs should use full hashes to stand the test of time.

This way when you open the link in browser and then save it somewhere for the future, it won't become outdated when the amount of commits in repository increases to the level where the short hash that previously was unique isn't unique any more.

Though my personal motivation for this is that I have a browser extension that allows me to mark commits in Bitbucket as "read". It uses the hash in URL to remember what has been marked as read already, but it won't work consistently when the hash is shortened - and the Bitbucket commit page doesn't contain any other sensible place from where the full hash could be extracted.

josa42 commented 6 years ago

You are absolutely right, thank you.