From 5722c358958d9bb6824262410c8f4fdfca658c6e Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 13 Sep 2023 01:16:03 -0400 Subject: [PATCH] Closes #2908 relaxes AzDO PR autolink detection --- CHANGELOG.md | 4 ++++ src/git/remotes/azure-devops.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2186acc..ffd7641 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] +### Changed + +- Relaxes PR autolink detection for Azure DevOps to use `PR ` instead of `Merged PR ` — closes [#2908](https://github.com/gitkraken/vscode-gitlens/issues/2908) + ### Fixed - Fixes [#2896](https://github.com/gitkraken/vscode-gitlens/issues/2896) - Repositories view stuck in loading state diff --git a/src/git/remotes/azure-devops.ts b/src/git/remotes/azure-devops.ts index 48dea74..fbc72cb 100644 --- a/src/git/remotes/azure-devops.ts +++ b/src/git/remotes/azure-devops.ts @@ -58,7 +58,7 @@ export class AzureDevOpsRemote extends RemoteProvider { }, { // Default Pull request message when merging a PR in ADO. Will not catch commits & pushes following a different pattern. - prefix: 'Merged PR ', + prefix: 'PR ', url: `${this.baseUrl}/pullrequest/`, title: `Open Pull Request # on ${this.name}`,