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

Conversation

@utkarshgupta137
Copy link

Identify the Bug

Same as atom/tree-view#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 maybe a little lag when loading file which already has 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.

1 participant