Skip to content

Commit 1456a95

Browse files
committed
Merge branch 'main' into passive-penguin
2 parents fca5600 + 2217f51 commit 1456a95

File tree

186 files changed

+3107
-1545
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+3107
-1545
lines changed

cli/src/commands/serve_web.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -548,9 +548,11 @@ impl ConnectionManager {
548548
Err(_) => Quality::Stable,
549549
});
550550

551+
let now = Instant::now();
551552
let latest_version = tokio::sync::Mutex::new(cache.get().first().map(|latest_commit| {
552553
(
553-
Instant::now() - Duration::from_secs(RELEASE_CHECK_INTERVAL),
554+
now.checked_sub(Duration::from_secs(RELEASE_CHECK_INTERVAL))
555+
.unwrap_or(now), // handle 0-ish instants, #233155
554556
Release {
555557
name: String::from("0.0.0"), // Version information not stored on cache
556558
commit: latest_commit.clone(),

extensions/git/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@
10541054
},
10551055
{
10561056
"command": "git.unstageSelectedRanges",
1057-
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && isInDiffEditor && isInDiffRightEditor && resourceScheme == git"
1057+
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == git"
10581058
},
10591059
{
10601060
"command": "git.clean",

extensions/git/package.nls.json

+13-1
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@
310310
"message": "[Download Git for Windows](https://git-scm.com/download/win)\nAfter installing, please [reload](command:workbench.action.reloadWindow) (or [troubleshoot](command:git.showOutput)). Additional source control providers can be installed [from the Marketplace](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22).",
311311
"comment": [
312312
"{Locked='](command:workbench.action.reloadWindow'}",
313+
"{Locked='](command:git.showOutput'}",
314+
"{Locked='](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22'}",
313315
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
314316
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
315317
]
@@ -318,6 +320,8 @@
318320
"message": "[Download Git for macOS](https://git-scm.com/download/mac)\nAfter installing, please [reload](command:workbench.action.reloadWindow) (or [troubleshoot](command:git.showOutput)). Additional source control providers can be installed [from the Marketplace](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22).",
319321
"comment": [
320322
"{Locked='](command:workbench.action.reloadWindow'}",
323+
"{Locked='](command:git.showOutput'}",
324+
"{Locked='](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22'}",
321325
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
322326
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
323327
]
@@ -326,11 +330,19 @@
326330
"message": "Source control depends on Git being installed.\n[Download Git for Linux](https://git-scm.com/download/linux)\nAfter installing, please [reload](command:workbench.action.reloadWindow) (or [troubleshoot](command:git.showOutput)). Additional source control providers can be installed [from the Marketplace](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22).",
327331
"comment": [
328332
"{Locked='](command:workbench.action.reloadWindow'}",
333+
"{Locked='](command:git.showOutput'}",
334+
"{Locked='](command:workbench.extensions.search?%22%40category%3A%5C%22scm%20providers%5C%22%22'}",
329335
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
330336
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
331337
]
332338
},
333-
"view.workbench.scm.missing": "Install Git, a popular source control system, to track code changes and collaborate with others. Learn more in our [Git guides](https://aka.ms/vscode-scm).",
339+
"view.workbench.scm.missing": {
340+
"message": "Install Git, a popular source control system, to track code changes and collaborate with others. Learn more in our [Git guides](https://aka.ms/vscode-scm).",
341+
"comment": [
342+
"{Locked='](https://aka.ms/vscode-scm'}",
343+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
344+
]
345+
},
334346
"view.workbench.scm.disabled": {
335347
"message": "If you would like to use Git features, please enable Git in your [settings](command:workbench.action.openSettings?%5B%22git.enabled%22%5D).\nTo learn more about how to use Git and source control in VS Code [read our docs](https://aka.ms/vscode-scm).",
336348
"comment": [

0 commit comments

Comments
 (0)