Skip to content

${pullRequest} in commit description and label does nothing #1697

@karyon

Description

@karyon
  • GitLens Version: v2021.10.2305, v11.6.1

  • Git Version: 2.33.1.windows.1

  • VSCode Version: 1.61.2
  • OS Version: Windows 10 19043

Steps to Reproduce:

  1. Add ${pullRequest} to gitlens.views.formats.commits.label or gitlens.views.formats.commits.description. The settings UI offers ${pullRequest} as a variable to add.
  2. observe how the commit pane does refresh, but its contents do not change

Hovering over a commit does make the PR link appear. In that case, the logs shows a couple getPullRequestForCommit entries. Adding ${pullRequest} to the commit description template does not make getPullRequestForCommit appear in the log.

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions