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

.ignore file is not applied without git repository #970

Closed
Folling opened this issue Jan 5, 2025 · 2 comments · Fixed by #972
Closed

.ignore file is not applied without git repository #970

Folling opened this issue Jan 5, 2025 · 2 comments · Fixed by #972
Labels
bug Something isn't working

Comments

@Folling
Copy link

Folling commented Jan 5, 2025

Description

.ignore files are only applied if broot is started within a git repository.

Usecase

I sometimes use broot to manage non-VCS integrated files and folders in which case I would have expected .ignore to work, but it doesn't.

Specs

broot version: 1.44.3
OS: macOS

MVCE

cd "$(mktemp)"
mkdir foo bar
echo "bar" > .ignore
br
@Folling Folling added the bug Something isn't working label Jan 5, 2025
@Canop
Copy link
Owner

Canop commented Jan 5, 2025

I confirm. I totally overlooked this case. Thanks for the report.

I'll have to change how ignoring is managed.

@Canop
Copy link
Owner

Canop commented Jan 9, 2025

It should be fixed by #972

It looks like there wasn't much to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants