Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Doesn't detect subfolder as repos #1366

Open
1 task done
utkarshgupta137 opened this issue Nov 1, 2020 · 0 comments
Open
1 task done

Doesn't detect subfolder as repos #1366

utkarshgupta137 opened this issue Nov 1, 2020 · 0 comments

Comments

@utkarshgupta137
Copy link

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

  1. Create the following tree:
    |-- mainFolderWithoutGit
    .....|-- someFolderWithGit
    ..........|-- .git
  2. Add mainFolderWithoutGit as a project.
  3. 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant