Skip to content

Git - an error occurs when discarding untracked files if the system does not have the recycle bin enabled #244549

Closed
@AnYiEE

Description

@AnYiEE

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

  • VS Code Version: 1.98.2
  • OS Version: win32, x64, Windows 11 Pro

Steps to Reproduce:

  1. Disable the current drive's recycle bin in the system (Online tutorial)
  2. Open a Git repository on that drive
  3. Create a new file
  4. Discard this file

Image

Image

Manually disabling the "git.untrackedChangesSoftDelete" setting works as expected, but it is enabled by default in the new version, which may not consider this scenario.

See: #240523

Metadata

Metadata

Assignees

Labels

author-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable buggitGIT issuesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions