Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file explorer is not updated after a git pull #24309

Closed
jeremy447 opened this issue Apr 8, 2017 · 12 comments
Closed

file explorer is not updated after a git pull #24309

jeremy447 opened this issue Apr 8, 2017 · 12 comments
Assignees
Labels
file-explorer Explorer widget issues info-needed Issue requires more information from poster
Milestone

Comments

@jeremy447
Copy link

Hello,

I noticed that sometimes the file explorer doesn't get updated (missing folder at least) after making a git pull (from external terminal).

  • VSCode Version: 1.11.1
  • OS Version: Fedora 25

Thanks !

@bpasero bpasero added the info-needed Issue requires more information from poster label Apr 9, 2017
@bpasero bpasero added this to the Backlog milestone Apr 9, 2017
@bpasero
Copy link
Member

bpasero commented Apr 9, 2017

@Paviluf which folder specifically would not update? Can you share your settings?

@jeremy447
Copy link
Author

jeremy447 commented Apr 9, 2017

It's the folder highlighted that wasn't there after a git pull. I checked in nautilus (file explorer) and it was there. I rebooted Vs Code and the folder was available.

screenshot from 2017-04-09 10-10-55

Here is my settings :

{
  "editor.fontSize": 13,
  "editor.fontFamily": "Droid Sans Mono",
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "editor.renderIndentGuides": true,
  "editor.wordWrap": "on",
  "editor.rulers": [80],
  "workbench.iconTheme": "vs-seti",
  "workbench.welcome.enabled": false,
  "editor.minimap.enabled": true,
  "editor.minimap.renderCharacters": false,
}

@bpasero
Copy link
Member

bpasero commented Apr 9, 2017

@Paviluf does it show up when you refresh the explorer using the little refresh icon?

image

@jeremy447
Copy link
Author

I can't tell since I restarted vscode and the folder was there. If it happen again I will try.

@bpasero bpasero added the file-explorer Explorer widget issues label Apr 10, 2017
@jeremy447
Copy link
Author

It happened again. If I refresh the explorer using the little refresh icon it seem to refresh only the subdirectory where I'm.

@jeremy447 jeremy447 changed the title file explorer don't updated file explorer is not updated after a git pull Apr 20, 2017
@jeremy447
Copy link
Author

I think it always happen when someone else create a new folder (files ?) and you fetch it with git pull.

@jeremy447
Copy link
Author

jeremy447 commented Apr 21, 2017

Very annoying bug. I hope it can be fixed for april release :)

This was referenced Apr 25, 2017
@jeremy447
Copy link
Author

jeremy447 commented May 5, 2017

My coworker have the same problem on Ubuntu 16.04

@bpasero
Copy link
Member

bpasero commented May 6, 2017

Please see if you can find any logged output that could help us find the source of the issue:

  • run code --verbose from the command line and attach the output
  • in Code select Help | Toggle Developer Tools and select the Console
  • attach any output you see in the Console you can find

Thanks!

@jeremy447
Copy link
Author

Well I made some tests after updating to 1.12 and it didn't happen. I will continue my tests and if it doesn't happen anymore I will close the issue.

@bpasero
Copy link
Member

bpasero commented May 7, 2017

@Paviluf this would indicate to me that the bug is some race condition and unreliable to reproduce, which is odd, but quite possible for these kind of issues. In the end the OS might decide to not send around file changes in certain cases or we fail to read them in certain cases.

@vscodebot vscodebot bot closed this as completed May 24, 2017
@vscodebot
Copy link

vscodebot bot commented May 24, 2017

This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our guidelines for filing issues. Thank you for your contributions.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
file-explorer Explorer widget issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants