Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.AssertionError: Can't get .git directory from repo root path when git root removed #1856

Open
PawelLipski opened this issue May 13, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@PawelLipski
Copy link
Collaborator

To repro, add a new git root in the project, open Git Machete tab (make sure that there are git root to select from the dropdown), and then remove .git folder from the newly-added git root. Git Machete won't reload the git roots, and will try to operate on the non-existent git root. As a remedy, add some extra check + issue a warning about removed git root.

@PawelLipski PawelLipski added bug Something isn't working good first issue Good for newcomers labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant