{commit} placeholder gets replaced with short hash for commit link
gavvvr opened this issue · 0 comments
gavvvr commented
There is a short hash substituted in place of {commit}
for "commit template" URL
How to reproduce?
- Open any git repo cloned from remote
- Go to Settings -> GitLink -> Custom Platform -> Press "+"
- Fill in all required fields with any data
- Fill in "Commit template" with
{remote:url}/commit/{commit}
- Finish Custom Platform creation
- Go to Settings -> GitLink -> choose the "platform" you've just created -> Apply settings
- Go to "Git Log" -> Right-click any commit and choose "Open in %YOUR_CUSTOM_PLATFORM_NAME%"
The link you will get will actually have a {commit:short}
value in place of commit hash