@gitkraken/core-gitlens 0.70.1 → 0.70.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -1
- package/dist/git/watching/worktreeSummary.d.ts +2 -1
- package/dist/git/watching/worktreeSummary.js +1 -1
- package/dist/git/watching/worktreeSummary.js.map +1 -1
- package/dist/git-cli/providers/config.js +2 -2
- package/dist/git-cli/providers/pausedOperations.js +2 -2
- package/dist/git-cli/providers/pausedOperations.js.map +1 -1
- package/dist/git-cli/providers/staging.js +1 -1
- package/dist/ipc/discovery.js +1 -1
- package/dist/plus/agents/providers/claudeCodeTranscript.js +6 -6
- package/dist/plus/agents/providers/claudeCodeTranscript.js.map +1 -1
- package/dist/plus/ai/providers/openAICompatibleProviderBase.js +1 -1
- package/dist/plus/integrations/providers/azure/azure.js +1 -1
- package/dist/plus/integrations/providers/github.js +1 -1
- package/dist/utils/env/node/exec.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.70.2] - 2026-12-06
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Fixes a subscribed worktree summary with `summaryDirtyFromStatus` reading a full `git status` on every working-tree change, where it used to run `git diff --quiet`, while its working tree isn't reliably watched (a polled or `unreliable` watcher, or one still starting). It can't share the host's status then, so it reads the dirty flag as it does without `summaryDirtyFromStatus` (git)
|
|
14
|
+
|
|
9
15
|
## [0.70.1] - 2026-12-05
|
|
10
16
|
|
|
11
17
|
### Fixed
|
|
@@ -1652,7 +1658,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
1652
1658
|
|
|
1653
1659
|
- Initial release. Bundles `@gitlens/utils`, `@gitlens/git`, `@gitlens/git-cli`, `@gitlens/ai`, and `@gitlens/git-github` into a single core npm package with subpath exports.
|
|
1654
1660
|
|
|
1655
|
-
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.70.
|
|
1661
|
+
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.70.2...core
|
|
1662
|
+
[0.70.2]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.70.1..releases/core/v0.70.2
|
|
1656
1663
|
[0.70.1]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.70.0..releases/core/v0.70.1
|
|
1657
1664
|
[0.70.0]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.69.0..releases/core/v0.70.0
|
|
1658
1665
|
[0.69.0]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.68.0..releases/core/v0.69.0
|
|
@@ -140,7 +140,8 @@ export interface WorktreeSummaryServiceOptions {
|
|
|
140
140
|
* than `hasWorkingChanges`. Only for a host that reads that same status on every working-tree change, so the two
|
|
141
141
|
* share one `git status`; otherwise each change costs a full status where `git diff --quiet HEAD` exits early. It
|
|
142
142
|
* needs the provider's status clock advanced by {@link watchService}'s working-tree changes, as
|
|
143
|
-
* `createCliGitService` does.
|
|
143
|
+
* `createCliGitService` does. A worktree whose working tree isn't reliably watched
|
|
144
|
+
* (`RepositoryWatchService.isWorkingTreeWatched`) is read without a status, since none can be shared. Off by default.
|
|
144
145
|
*/
|
|
145
146
|
readonly dirtyFromStatus?: boolean;
|
|
146
147
|
}
|
|
@@ -731,7 +731,7 @@ var WorktreeSummaryService = class {
|
|
|
731
731
|
const repo = this.getRepository(entry.key);
|
|
732
732
|
if (repo == null) throw new Error(`No repository found for '${entry.key}'`);
|
|
733
733
|
const signal = entry.abort.signal;
|
|
734
|
-
const statusReuseGeneration = this.dirtyFromStatus ? value != null && entry.dirtyReadAt == null && !entry.untrackedDirtyRecheckDue
|
|
734
|
+
const statusReuseGeneration = this.dirtyFromStatus && this.watchService.isWorkingTreeWatched(entry.key) ? value != null && entry.dirtyReadAt == null && !entry.untrackedDirtyRecheckDue : void 0;
|
|
735
735
|
result = await readSummary(repo, entry.key, fields, previous, entry.baseKeys, entry.baseConfigKey, entry.baseDefaultBranch, entry.baseFullRead, baseMoves, signal, this.verifyBaseRemeasure, tips?.base, void 0, (due, moves) => this.probeRead(repo, previous, tips, due, moves, probed, signal), statusReuseGeneration);
|
|
736
736
|
} catch (ex) {
|
|
737
737
|
if (entry.disposed) return;
|