atom / tree-view

🌳 Explore and open project files in Atom
MIT License
561 stars 365 forks source link

Git repo in a git repo grayed out #1408

Closed DesWurstes closed 2 years ago

DesWurstes commented 2 years ago

Prerequisites

I have the following setup

GitRepoA/
├── file1.txt
├── .gitignore: ignore GitRepoB/
├── GitRepoB/
          ├── file2.txt

Actual behavior

When I add GitRepoB/ from "Add new project folder" it's empty if "hide gitignore files" is checked; otherwise grayed out.

Expected behavoir

When a folder is added as new project, the gitignore in the same level as the folder musnt't be checked hence the folder shouldn't be hidden/grayed out.

DesWurstes commented 2 years ago

Fixed by moving the inner folder above the parent folder