Skip to content

Bug: Explorer does not respect negated .gitignore rule #69035

@yatki

Description

@yatki
  • VSCode Version: Version 1.31.1
  • OS Version: Majove 10.14.3

Steps to Reproduce:

  1. Create the following files:
  • /test/example/ignored.js
  • /test/.gitkeep
  1. Add the following rules to .gitignore
test/*
!test/.gitkeep

In the explorer .gitkeep file is grayed out even though git recognises it.

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

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugfile-explorerExplorer widget issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions