|
|
@ -35,7 +35,7 @@ export class GitTerminalLinkProvider implements Disposable, TerminalLinkProvider |
|
|
|
const branchesAndTags = await Container.git.getBranchesAndOrTags(repoPath); |
|
|
|
|
|
|
|
// Don't use the shared regex instance directly, because we can be called reentrantly (because of the awaits below)
|
|
|
|
const regex = new RegExp(refRegex, 'gi'); |
|
|
|
const regex = new RegExp(refRegex, refRegex.flags); |
|
|
|
|
|
|
|
let match; |
|
|
|
do { |
|
|
|