Vscode-gitlens: "Stash all changes" appears to do nothing on Windows 10 Pro

Created on 11 Nov 2019  Â·  9Comments  Â·  Source: eamodio/vscode-gitlens


  • GitLens Version: 10.1.2
  • VSCode Version: 1.40.0 (system setup)
  • OS Version: Windows_NT x64 10.0.17134

Steps to Reproduce:

  1. Have a single changed file, e.g.
    image

  2. Use the Stash All Changes feature:
    image

  3. Provide details on what is being stashed, and press Enter:
    image

Nothing happens - both the Git log and GitLens logs show no activity (therefore no logging to show!), as though there was no attempt to stash files (or as though Escape was entered rather than Enter/Return)

The same lack of activity occurs if I attempt to Stage files before Stashing.

needs more info potential bug

Most helpful comment

Does this still happen on GitLens 11?

All 9 comments

Ah, I think this is related to the tree vs list layout in the SCM view now. Can you see if you see the same behavior if you toggle back into list mode?

Tried with list view as well, and still nothing happens (and that includes complete lack of any Git or GitLens logging):
image

image

image

This is currently what my settings.json contains:
"gitlens.views.repositories.files.layout": "list",
"gitlens.debug": true,

  • GitLens Version: 10.1.2
  • VSCode Version: 1.40.1 (user setup)
  • OS Version: Windows_NT x64 10.0.17763

I'm having the same issue. I have 5 modified files and I can stash them one by one using "Stash Change" from the right click menu on the modified file.
I did the same procedure as mention in the first post with the same result. I'm not able to stash them all at the same time. No log outputs either.

@shiraze @WoRiX Please enable output channel logging by setting "gitlens.outputLevel": "debug" in your settings. This will enable logging to the GitLens channel in the Output pane. Once enabled, please reproduce the issue and attach the log from the GitLens channel.

@eamodio, here's the output when I have the suggested setting applied:

[2019-11-15 09:46:58:041] [1811] GitService.getRepository — e=Uri(file:///c:/Source/React/react/public/appSettings.js)
[2019-11-15 09:46:58:041] [1812] GitService.isTracked returned true • 0 ms — e=c:\Source\React\react\public\appSettings.js, t=c:/Source/React/react, i={}
[2019-11-15 09:46:58:041] [1811] GitService.getRepository returned c:/Source/React/react • 0 ms
[2019-11-15 09:46:58:042] [1814] GitService.getOrderedRepositories
[2019-11-15 09:46:58:042] [1815] GitService.getRepositories
[2019-11-15 09:46:58:042] [1815] GitService.getRepositories completed • 0 ms
[2019-11-15 09:46:58:042] [1814] GitService.getOrderedRepositories completed • 0 ms
[2019-11-15 09:46:58:043] [1816] Keyboard.createScope[0](left)
[2019-11-15 09:46:58:043] [1816] Keyboard.createScope[0](left) completed • 0 ms
[2019-11-15 09:46:58:043] [1817] KeyboardScope.resume(paused=true)
[2019-11-15 09:46:58:052] [1817] KeyboardScope.resume(paused=true) completed • 9 ms
[2019-11-15 09:47:05:669] [1818] KeyboardScope.pause(paused=false)
[2019-11-15 09:47:05:671] [1818] KeyboardScope.pause(paused=false) completed • 1 ms
[2019-11-15 09:47:05:779] [1819] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:05:779] [1819] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:06:154] [181a] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:06:154] [181a] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:06:323] [181b] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:06:324] [181b] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:06:491] [181c] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:06:491] [181c] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:07:028] [181d] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:07:028] [181d] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:07:139] [181e] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:07:139] [181e] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:07:414] [181f] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:07:414] [181f] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:07:483] [1820] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:07:483] [1820] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:07:573] [1821] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:07:574] [1821] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:08:158] [1822] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:08:158] [1822] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:08:369] [1823] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:08:369] [1823] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:08:426] [1824] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:08:426] [1824] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:08:531] [1825] KeyboardScope.pause(paused=true)
[2019-11-15 09:47:08:531] [1825] KeyboardScope.pause(paused=true) completed • 0 ms
[2019-11-15 09:47:10:179] [1826] KeyboardScope.dispose[1]
[2019-11-15 09:47:10:179] [1813] GitCommandsCommand.execute completed
[2019-11-15 09:47:10:183] [1826] KeyboardScope.dispose[1] completed • index=0 • 4 ms

As before, nothing is stashed - whether I select all or attempt to stash individually,
Also, the _Git_ channel in the _Output_ pane doesn't log anything for stash attempts (but does when performing other actions)

same issue

  • os: macOS 10.15.7
  • vscode: 1.51.1
  • git: 2.24.3(Apple Git-128)
[2020-11-12 01:24:49:684] [179] GitService.getRepository — e=Uri(file:///Users/l.rain/Documents/workspace/DEMO/yeeyun-cli/package.json)
[2020-11-12 01:24:49:685] [17a] GitService.isTracked returned true • 0 ms — e=/Users/l.rain/Documents/workspace/DEMO/yeeyun-cli/package.json, t=/Users/l.rain/Documents/workspace/DEMO/yeeyun-cli, i={}
[2020-11-12 01:24:49:685] [179] GitService.getRepository returned /Users/l.rain/Documents/workspace/DEMO/yeeyun-cli • 0 ms
[2020-11-12 01:24:49:685] [17c] GitService.getOrderedRepositories
[2020-11-12 01:24:49:685] [17d] GitService.getRepositories
[2020-11-12 01:24:49:685] [17d] GitService.getRepositories completed • 0 ms
[2020-11-12 01:24:49:685] [17c] GitService.getOrderedRepositories completed • 0 ms
[2020-11-12 01:24:49:685] [17e] Keyboard.createScope[0](left)
[2020-11-12 01:24:49:685] [17e] Keyboard.createScope[0](left) completed • 0 ms
[2020-11-12 01:24:49:685] [17f] KeyboardScope.resume(paused=true)
[2020-11-12 01:24:49:700] [17f] KeyboardScope.resume(paused=true) completed • 14 ms
[2020-11-12 01:24:53:606] [180] KeyboardScope.pause(paused=false)
[2020-11-12 01:24:53:618] [180] KeyboardScope.pause(paused=false) completed • 12 ms
[2020-11-12 01:24:53:689] [181] KeyboardScope.pause(paused=true)
[2020-11-12 01:24:53:689] [181] KeyboardScope.pause(paused=true) completed • 0 ms
[2020-11-12 01:24:54:582] [182] KeyboardScope.dispose[1]
[2020-11-12 01:24:54:583] [17b] GitCommandsCommand.execute completed
[2020-11-12 01:24:54:587] [182] KeyboardScope.dispose[1] completed • index=0 • 4 ms

Does this still happen on GitLens 11?

i think it's work now, thanks for you work

This works a treat. Thanks so much. The way you've implemented stashes is also very intuitive and powerful, so thanks SO much.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vgrafe picture vgrafe  Â·  3Comments

DFelten picture DFelten  Â·  3Comments

robertzauner picture robertzauner  Â·  3Comments

ahhmarr picture ahhmarr  Â·  3Comments

carlleeswanson picture carlleeswanson  Â·  3Comments