vscode: git: refresh button get error
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.79.0
- OS Version: Windows_NT x64 10.0.19045
Steps to Reproduce:
- Click
Source Control
button on the left menu - Click
Refresh
button on the right of the project name - Click
Show Command Ouptput
show below log.
git status -z -uall --find-renames=50% error: unknown option `find-renames=50%โ usage: git status [<options>] [โ] <pathspec>โฆ
-v, --verbose be verbose
-s, --short show status concisely
-b, --branch show branch information
--show-stash show stash information
--ahead-behind compute full ahead/behind values
--porcelain[=<version>]
machine-readable output
--long show status in long format (default)
-z, --null terminate entries with NUL
-u, --untracked-files[=<mode>]
show untracked files, optional modes: all, normal, no. (Default: all)
--ignored[=<mode>] show ignored files, optional modes: traditional, matching, no. (Default: traditional)
--ignore-submodules[=<when>]
ignore changes to submodules, optional when: all, dirty, untracked. (Default: all)
--column[=<style>] list untracked files in columns
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 21 (10 by maintainers)
The plan is to release a recovery release later today that will include this fix.
I had the same problem. I ran
git clean -n
, restarted VSCode and it was fixed ๐ฎYes. The currently plan is to release a fix for this in Insiders today, and Stable later this week.
@Dragonite24, thank you very much for the quick turnaround. Glad to hear that the fixes are working. The fixes have been ported to our release branch, and will be included in the Stable recovery release.
i try to reboot my pc and use this command, but it doesn`t work
Everything is working! โค๏ธ
VSCode about: Version: 1.80.0-insider (user setup) Commit: bf5419f02d146b4359c32fa0748f8ba47adf118c Date: 2023-06-14T05:43:26.713Z Electron: 22.5.7 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19045
switch
git.similarityThreshold
setting from 50 to 51:sure:
git version 2.17.1
@WuShichao, thank you. Your data confirms the same problem: