atom/tree-view

Git repo in a git repo grayed out

Closed this issue · 1 comments

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.

Fixed by moving the inner folder above the parent folder