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

Conversation

@utkarshgupta137
Copy link

@utkarshgupta137 utkarshgupta137 commented Nov 1, 2020

Identify the Bug

Fixes #1366.

Description of the Change

By using atom.project.repositoryForPath function instead of matching the path with added directories, subfolders will get identified.
Made necessary changes to referenced places to handle the async nature of the atom.project.repositoryForPath.

Alternate Designs

None.

Possible Drawbacks

Since atom.project.repositoryForPath is an async function, there may be a little lag when loading files with existing changes.

Verification Process

TODO

Release Notes

  • Fixed subfolders of project folders not getting detected as git repositories.

@utkarshgupta137
Copy link
Author

TODO: Add tests.

@utkarshgupta137 utkarshgupta137 closed this by deleting the head repository Mar 13, 2023
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 this pull request may close these issues.

Doesn't detect subfolder as repos

1 participant