You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-_{branchName}_ is the name of the branch. Note that the remote name should not be included. Instead, _{remoteUrl}_ is used to determine the remote for the branch. So if the branch _test_ is located on _origin_, for example, _{branchName}_ should just be _test_ and the remote url of _origin_ should be used for the _{remoteUrl}_ parameter. You should not set _{branchName}_ to _origin/test_ in this example.
86
86
87
87
-_{action}_ is an optional query parameter that represents the action to take on the branch target. By default, the action on all repository item deep links, including branch deep links, is to open the commit graph and select the row pertaining to the item. This parameter allows the link to complete other actions instead:
88
-
89
88
-_switch_: Switch to the branch (with options to checkout, create a new local branch if desired, or create/open a worktree).
90
89
91
90
-_switch-to-pr_: Does everything that the _switch_ action does, but also opens the inspect overview, which contains details about pull requests related to the branch.
-_{patchId}_ is an optional query parameter used to access a specific revision/patch within the cloud patch. If not set, the most recent is used.
204
203
205
204
-_type=suggested_pr_change&prEntityId={prEntityId}_ should be included in the query for deep links to code suggestions. These parameters should not be included for standard cloud patch links.
206
-
207
205
-_{prEntityId}_ refers to the GK entity identifier for the Pull Request related to the code suggestion.
-_{state}_ is an optional parameter representing the state used to retrieve the code, if applicable. If a state was used to retrieve the code, it must be included in the link or the login will fail.
248
246
249
247
-_{context}_ is an optional parameter representing the context of the login. Currently supported values include:
250
-
251
248
-_start_trial_ - Log in to start a Pro trial.
252
249
253
250
#### Example Usage
@@ -269,7 +266,6 @@ _{prefix}/command/{command}_
269
266
#### References
270
267
271
268
-_{command}_ is the name of the command to run. Currently supported values include:
272
-
273
269
-_cloud-patches_ - Runs the `GitLens: Show Cloud Patches View` command.
274
270
275
271
-_graph_ - Runs the `GitLens: Show Graph` command.
Copy file name to clipboardExpand all lines: src/autolinks/autolinksProvider.ts
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -225,9 +225,9 @@ export class AutolinksProvider implements Disposable {
225
225
link.providerinstanceofIntegrationBase
226
226
? link.provider.id
227
227
: // TODO: Tighten the typing on ProviderReference to be specific to a remote provider, and then have a separate "integration" property (on autolinks and elsewhere)
228
-
// that is of a new type IntegrationReference specific to integrations. Otherwise, make remote provider ids line up directly with integration ids.
229
-
// Either way, this converting/casting hackery needs to go away.
// Fall back to the old logic assuming that integration id might be saved as provider id.
233
233
// TODO: it should be removed when we put providers and integrations in order. Conversation: https://github.com/gitkraken/vscode-gitlens/pull/3996#discussion_r1936422826
@@ -255,12 +255,12 @@ export class AutolinksProvider implements Disposable {
0 commit comments