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

vscode locking git repo #7409

Closed
TurkeyMan opened this issue Jun 8, 2016 · 1 comment
Closed

vscode locking git repo #7409

TurkeyMan opened this issue Jun 8, 2016 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)
Milestone

Comments

@TurkeyMan
Copy link

  • VSCode Version: 1.2.0
  • OS Version: Windows 8.1

Steps to Reproduce:

  1. Open a repo in vscode so that the git bindings are active, leave this running in the background
  2. Do your git interaction with TortoiseGit as usual
  3. Notice that tortoise will regularly and randomly give errors failing to perform various operations because the repository appears to be locked (ie, some other git client is performing an operation). Tortoise will usually offer a 'retry' button; clicking retry almost always completes the action as intended.

I've noticed this seems to be related to whether I have vscode running or not. I suspect vscode is semi-actively doing fetches or something?
I'm sure this is manually configurable, but I feel like it should be more intelligent than that... perhaps vscode may also silently be experiencing repo lock failures when I'm interacting with TortoiseGit, and perhaps vscode might take this as an indicator that I'm using a separate git client, and automatically (or offer to) reduce it's auto fetch behaviour?

I'm not actually sure it's fetching, it could be something else, I just notice that the problems with TortoiseGit complaining about repo locks only seem to happen while vscode is running in the background.

@joaomoreno joaomoreno added this to the June 2016 milestone Jun 9, 2016
@joaomoreno joaomoreno added the bug Issue identified by VS Code Team member as probable bug label Jun 9, 2016
@joaomoreno joaomoreno modified the milestones: June 2016, July 2016 Jun 24, 2016
@joaomoreno
Copy link
Member

This happens due to a status call, not fetch.

Duplicate of #901. Now Code will not call status when in the background.

@joaomoreno joaomoreno added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 12, 2016
@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
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants