Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support {branch} in "File at commit template" #281

Open
hzhr opened this issue Feb 12, 2023 · 0 comments
Open

Support {branch} in "File at commit template" #281

hzhr opened this issue Feb 12, 2023 · 0 comments

Comments

@hzhr
Copy link

hzhr commented Feb 12, 2023

Steps to reproduce:

  1. Some git server use branch name in commit url
  2. Add new Custom Platform, use {branch} to set "File at commit template": https://xxx.server/xxx?branch={branch}&xxxx
  3. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant