Support {branch} in "File at commit template"
hzhr opened this issue · 1 comments
hzhr commented
Steps to reproduce:
- Some git server use branch name in commit url
- Add new Custom Platform, use {branch} to set "File at commit template": https://xxx.server/xxx?branch={branch}&xxxx
- GitLink, Open in XXX, or Copy XXX link
Expected behaviour:
{branch} is replaced by real branch name, eg: dev
The url is correct: https://xxx.server/xxx?branch=dev&xxxx
Actual behaviour:
{branch} is empty, the url is wrong: https://xxx.server/xxx?branch=&xxxx
ben-gibson commented
This has been added in 4.5.0