question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Git - diff editor cannot be opened while scanning for repositories

See original GitHub issue

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.72.2
  • OS Version: Windows 10

Steps to Reproduce:

I can consistently reproduce the issue only for a specific repository (microsoft/vcpkg) but I highly doubt that it is reproducible elsewhere… Maybe it is worth noting that I didn’t use code with this repository for a long time.

The consequence is that I can’t look at diffs or history because they are loading a few minutes and work only if the spam stops at the git output.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Thomas1664commented, Oct 24, 2022

Thanks! I will try to set up a repro and see if I am able to reproduce the problem.

Sounds great!

I think you should be able to reproduce the problem on any JS project with a large node_modules if you remove node_modules from git.repositoryScanIgnoredFolders and set git.repositoryScanMaxDepth to 5.

1reaction
lszomorucommented, Oct 24, 2022

Thanks! I will try to set up a repro and see if I am able to reproduce the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

git difftool, open all diff files immediately, not in serial
I'm looking for a way to open all the files at once - in BeyondCompare for example this would open all the files...
Read more >
Setting up code scanning for a repository - GitHub Docs
Code scanning is available for organization-owned repositories in GitHub Enterprise Server. This feature requires a license for GitHub Advanced Security.
Read more >
Git error - Fatal: Not a git repository and how to fix it | Datree.io
A Git command needs to be run on a specific repository, so this error typically occurs when a Git command is run in...
Read more >
git-status Documentation - Git
When "untracked" is used submodules are not considered dirty when they only contain untracked content (but they are still scanned for modified content)....
Read more >
Web IDE - GitLab Documentation
When viewing a file or the repository file list · Select the ( ) next to Edit or Gitpod, depending on your configuration....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found