Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
If you add a project folder which is not a git repo but it contains folders which are git repos, tree view doesn't detect it as a git repo.
You can get it to work by adding the git repos as project folders, but it should be above the main project folder.
Steps to Reproduce
Create the following tree:
|-- mainFolderWithoutGit
.....|-- someFolderWithGit
..........|-- .git
Add mainFolderWithoutGit as a project.
Make any changes to any file in someFolderWithGit
Expected behavior:
someFolderWithGit should be detected as a git repo
Prerequisites
Description
If you add a project folder which is not a git repo but it contains folders which are git repos, tree view doesn't detect it as a git repo. You can get it to work by adding the git repos as project folders, but it should be above the main project folder.
Steps to Reproduce
Expected behavior:
someFolderWithGit should be detected as a git repo
Actual behavior:
someFolderWithGit is not detected as a git repo
Reproduces how often:
100%
Versions
1.52 and 1.53-beta0
Additional Information
Fixed it here: Corresponding issue in atom/git-diff: https://github.com/atom/atom/issues/21630