Doesn't detect subfolder as repos
Opened this issue · 0 comments
utkarshgupta137 commented
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- 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
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: atom/atom#21630