Skip to content

Do not show folders as unversioned when all files are ignored in it #147

@laeubi

Description

@laeubi

Description

  • I have a folder named "documents" with some pdf files in it
  • The files are show with the ? overlay as unversioned as well as the folder itself
  • I add a .gitignore to the root of the repository with *.pdf
  • Now all files show without ? as expected
  • The folder still show ? enven though there is nothing in it one can add to the index (except with force what is not supported)

Motivation

As git does not allow to version folders (only files) there is nothing one can do and it is confusing to get them shown with unversioned marker.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions