by joliss · 12y ago · 0 comments
It'll instantly expand the URL to its canonical form, e.g.
https://github.com/sass/libsass/blob/master/parser.cpp#L29-L...
to
https://github.com/sass/libsass/blob/fca1f75a14fe5336c7b1a4b...
which stays valid indefinitely (unless the commit is deleted from the repo).
P.S. Hit the ? key for more keyboard awesomeness. :)
If you statically link to a specific line number, and if your source code changes, then your static link may not point to the same code... duh?
I feel the authors real value in their article is a call for people to care about correcting their links for programmers in the future. The article would be better served to say, "Why you should care about linking in time to your GIT repo"
When I send someone a link, it's because I want them to see what I'm looking at.