Skip to content

gitlens does not refresh after git action on the command line #4383

@bardware

Description

@bardware

Description

I'm using git on the command line and using gitlens
In the Terminal window I call
git fetch
git rebase --autostash origin/master

The gitlens repositories view does not realise that the git status changed. I click the reload icon and nothing happens
In the console a few messages pop up. Interstingly twice. One in yellow, one on red.

I Restart Extension Host and after reload gitlens is in snyc with my repository until after some action it isn't

GitLens Version

17.1.1

VS Code Version

Version: 1.100.2 (system setup)
Commit: 848b80aeb52026648a8ff9f7c45a9b0a80641e2e
Datum: 2025-05-14T21:47:40.416Z
Electron: 34.5.1
ElectronBuildId: 11369351
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
Betriebssystem: Windows_NT x64 10.0.22631

Git Version

git version 2.49.0.windows.1

Logs, Screenshots, Screen Captures, etc

Yellow messages

console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: error: short read while indexing source/app/service/abc/DEFGH.cfc
error: short read while indexing source/app/service/ijk/LMNO.cfc
dws @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
B @ event.ts:1208
fire @ event.ts:1239
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:378
console.ts:137 [Extension Host] stack trace: Error: error: short read while indexing source/app/service/abc/DEFGH.cfc
error: short read while indexing source/app/service/ijk/LMNO.cfc
	at Git.exec (d:\vscode\cfmleditor\exts\eamodio.gitlens-17.1.1\dist\gitlens.js:370:27370)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Git.status (d:\vscode\cfmleditor\exts\eamodio.gitlens-17.1.1\dist\gitlens.js:372:3160)
	at async StatusGitSubProvider.getStatus (d:\vscode\cfmleditor\exts\eamodio.gitlens-17.1.1\dist\gitlens.js:433:9290)

Red messages

mainThreadExtensionService.ts:78 [eamodio.gitlens]error: short read while indexing source/app/service/abc/DEFGH.cfc
error: short read while indexing source/app/service/ijk/LMNO.cfc
$onExtensionRuntimeError	@	mainThreadExtensionService.ts:78
S	@	rpcProtocol.ts:458
Q	@	rpcProtocol.ts:443
M	@	rpcProtocol.ts:373
L	@	rpcProtocol.ts:299
(anonymous)	@	rpcProtocol.ts:161
B	@	event.ts:1208
fire	@	event.ts:1239
fire	@	ipc.net.ts:652
l.onmessage	@	localProcessExtensionHost.ts:378
mainThreadExtensionService.ts:79 Error: error: short read while indexing source/app/service/abc/DEFGH.cfc
error: short read while indexing source/app/service/ijk/LMNO.cfc
	at Git.exec (d:\vscode\cfmleditor\exts\eamodio.gitlens-17.1.1\dist\gitlens.js:370:27370)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async Git.status (d:\vscode\cfmleditor\exts\eamodio.gitlens-17.1.1\dist\gitlens.js:372:3160)
	at async StatusGitSubProvider.getStatus (d:\vscode\cfmleditor\exts\eamodio.gitlens-17.1.1\dist\gitlens.js:433:9290)
$onExtensionRuntimeError	@	mainThreadExtensionService.ts:79
S	@	rpcProtocol.ts:458
Q	@	rpcProtocol.ts:443
M	@	rpcProtocol.ts:373
L	@	rpcProtocol.ts:299
(anonymous)	@	rpcProtocol.ts:161
B	@	event.ts:1208
fire	@	event.ts:1239
fire	@	ipc.net.ts:652
l.onmessage	@	localProcessExtensionHost.ts:378

Metadata

Metadata

Assignees

Labels

area-rebase-editorIssues or features related to the Interactive Rebase Editorpending-releaseResolved but not yet released to the stable editionverified ✔Verified

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions