Closed complexityclass closed 5 years ago
git status -u shows only 1 change
This is pretty weird.
If you open a New Window in VS Code, does the error keep appearing?
git status -u shows only 1 change
This is pretty weird.
If you open a New Window in VS Code, does the error keep appearing?
Yes, it does. But the error message disappears after several seconds.
Does the error appear right on startup? Can you show me a screenshot of the full window with the error?
Does the error appear right on startup? Can you show me a screenshot of the full window with the error?
Yes, right on startup. It doesn't appear if I have changes in single file and appear for 2 or more files with changes.
Here is a screenshot
Can you show me the full output of git status -u
on both folders?
Can you show me the full output of
git status -u
on both folders?
Yes
/Users/complexity/Development `On branch some/ios/feature/task-15477 Your branch and 'origin/some/ios/feature/task-15477' have diverged, and have 21 and 1 different commits each, respectively. (use "git pull" to merge the remote branch into yours)
Changes to be committed: (use "git reset HEAD ..." to unstage) modified: TestHelpers.swift`
Does it keep happening if you relaunch with code --disable-extensions
?
Does it keep happening if you relaunch with
code --disable-extensions
?
I've added this key in .gitconfig, but the problem still exists
[difftool "vscode"] cmd = code --disable-extensions --wait --diff $LOCAL $REMOTE
Oh! I missed that part. It only reproduces when used with difftool
?
Oh! I missed that part. It only reproduces when used with
difftool
?
yes, only when It used as a difftool
Can you show me the full output of Git: Show Git Output
when the issue reproduces?
Can you show me the full output of
Git: Show Git Output
when the issue reproduces?
Yes, here it is
Looking for git in: /usr/local/Cellar/git/2.21.0/libexec/git-core/git Using git 2.21.0 from /usr/local/Cellar/git/2.21.0/libexec/git-core/git
git rev-parse --show-toplevel git config --get commit.template Open repository: /private/var/folders/1g/gq74jq1d3h9cwbz240kdr0x45xywwk/T git rev-parse --show-toplevel git status -z -u git config --get commit.template Open repository:
Users/complexity/Development/path/to/monorepo/ios/app/SharedComponents/ Storage/Transformers git status -z -u git check-ignore -v -z --stdin git rev-parse --show-toplevel git rev-parse --show-toplevel git rev-parse --show-toplevel git rev-parse --show-toplevel git rev-parse --show-toplevel
There's a .git
folder in /private/var/folders/1g/gq74jq1d3h9cwbz240kdr0x45xywwk/T
. If that shouldn't be there, delete it. Then, check whether this still happens.
/private/var/folders/1g/
There is no such .git directory ls -ld .?* shows: drwx------ .AddressBookLocks drwx------ .CalendarLocks -rw-r--r-- 1 .keystoneAgentLock
And ls -a | grep git shows: vscode-git-askpass-3c14dd24371060ee0b74aafeaa1aab22acb
That's weird because the log says it was successful in opening a git repo in that location. Something is odd.
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Isn't this a duplicate of #55428?
I have some really annoying warnings and can't even turn them off. Don't show again button doesn't work.
These are two warnings I have
The git repository at '/private/var/folders/1g/gq74jq1d3h9cwbz240kdr0x45xywwk/T' has too many active changes, only a subset of Git features will be enabled.
The git repository at '/Users/user/path/to/monorepo/files' has too many active changes, only a subset of Git features will be enabled.
git status -u shows only 1 change git rev-parse --show-toplevel shows correct folder (it's a big monorepo)
The first one is not even a repo, it is a system temp directory.
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes/No