Change:
}); checkForSubmodules(); <ins> const updateCommitInProgressContext = () => { let commitInProgress = false; for (const { repository } of this.openRepositories.values()) { if (repository.operations.isRunning(Operation.Commit)) { commitInProgress = true; break; } } commands.executeCommand('setContext', 'commitInProgress', commitInProgress); }; const operationEvent = anyEvent(repository.onDidRunOperation as Event<any>, repository.onRunOperation as Event<any>); const operationListener = operationEvent(() => updateCommitInProgressContext()); updateCommitInProgressContext(); </ins> const dispose = () => { disappearListener.dispose(); changeListener.dispose(); originalResourceChangeListener.dispose(); statusListener.dispose(); <ins> operationListener.dispose(); </ins> repository.dispose(); this.openRepositories = this.openRepositories.filter(e => e !== openRepository);

Discussion:
Issue Type: <bBug</bvscode release notes 1.69.0 says: I don't see any "Accept Commit Message button in the editor toolbar". The only button is the split editor button. VS Code version: Code 1.69.0 (, 2022-07-07T08:29:47.439Z) OS version: Linux x64 5.4.0-121-generic Restricted Mode: No <details<summarySystem Info</summary </details<details<summaryExtensions (47)</summaryExtensionVersion ------ language-x86-64-assembly3.0.0 atlascode2.10.12 language-gas-x860.0.2 doxdocgen1.4.0 dart-code3.44.0 flutter3.44.0 vscode-eslint2.2.6 vscode-wasm1.3.1 gitlens12.1.1 go0.34.1 rest-client0.25.0 better-cpp-syntax1.15.19 cmake-language-support-vscode0.0.4 sublime-babel-vscode0.2.10 Lua0.0.9 mypy0.2.2 asm-code-lens1.10.2 git-graph1.30.0 vscode-docker1.22.0 vscode-dotnet-runtime1.5.0 python2022.10.0 vscode-pylance2022.7.20 jupyter2022.6.

jupyter-keymap1.0.0 jupyter-renderers1.0.8 remote-containers0.241.3 remote-ssh0.82.1 remote-ssh-edit0.80.0 remote-wsl0.66.3 vscode-remote-extensionpack0.21.0 cmake-tools1.11.26 cpptools1.11.2 cpptools-extension-pack1.2.0 hexeditor1.9.7 vscode-typescript-tslint-plugin1.3.4 vetur0.35.0 ruby0.28.1 vscode-yaml1.8.0 LiveServer5.7.5 wow-bundle1.3.0 code-spell-checker2.3.0 lua3.4.2 svelte-vscode105.18.1 pdf1.2.0 vscode-lua0.12.4 cmake0.0.17 vscode-ruby0.28.0 (1 theme extensions excluded) </details<details<summaryA/B Experiments</summary</details<!-- generated by issue reporter --
The editor toolbar buttons only appear when the file is opened in the editor: <img width="606" alt="image" src="https://user-"
!
Thanks! Would you be able to share a screenshot of the complete workbench? What is the language name that is shown in the lower right hand corner in the status bar? By default the file should be detected as "Git Commit Message".
It does have "Git Commit Message" as the file type. I think maybe I figured out how you can reproduce it: The buttons appear for a normal git repository. The buttons don't appear for a git submodule. When I press the top commit button, I get the buttons. When I press the bottom commit button, no buttons. ! . Are you able to reproduce it that way?
Hey this issue might need further attention. you can help us out by closing this issue if the problem no longer exists, or adding more information.
issue still present in 1.71.2
sorry for not getting back to you on this, as the notification felt through the cracks. Let me see if I am able to reproduce the problem based on the latest information that you have shared.
I've got a repro and I should be able to get a fix in for this next week. Thank you for the repro details!