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

FEATURE: Allow changing the git_root using dir for git_status #1309

Open
1 task done
pdgendt opened this issue Jan 15, 2024 · 2 comments · May be fixed by #1499
Open
1 task done

FEATURE: Allow changing the git_root using dir for git_status #1309

pdgendt opened this issue Jan 15, 2024 · 2 comments · May be fixed by #1499
Labels
enhancement New feature or request

Comments

@pdgendt
Copy link

pdgendt commented Jan 15, 2024

Did you check the docs?

  • I have read all the docs.

Is your feature request related to a problem? Please describe.

Opening a Neotree git_status when there are multiple git directories in cwd this will result in no files being listed. This can happen, for example using git submodule.

Describe the solution you'd like.

When setting dir this should be considered the git_root instead of cwd.

Describe alternatives you've considered.

No response

Additional Context

No response

@pdgendt pdgendt added the enhancement New feature or request label Jan 15, 2024
@konosubakonoakua
Copy link
Contributor

@pdgendt could you please try this PR? I have tested it on my laptop. :D

@pdgendt
Copy link
Author

pdgendt commented Jun 18, 2024

@pdgendt could you please try this PR? I have tested it on my laptop. :D

Works like a charm! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants