The intent of this change is to allow people to have such lovely conversation
and that they make sense over time even after subsequent commit:
- A: where the hell is the logic of this?!?
- B: yeah look here <permalink> line 420
After this change, having that "<permalink>" is easier thanks to the "Permalink" button
that just generates the canonical URL with the stable commit hash:
From there, you can highlight line 420, being sure that your quote will always remain correct.
To clarify, if you are visiting this page:
https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/css/application/base/phui-theme.css
This would be the destination of the Permalink button:
https://we.phorge.it/source/phorge/browse/master/webroot/rsrc/css/application/base/phui-theme.css;ad01e26af71e7d7936dd2347eca47674255a7838
Note that other platforms have such button. For example, see the "Permalink" button
on this random GitLab repository:
https://gitlab.com/ItalianLinuxSociety/linux.it/-/blob/master/_config.yml
There is still some room for contribution to make the URL change without reloading
the page. Any follow-up patch is welcome.
Closes T15256