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

ensure global .gitignore to sync with git_ignore flag #231

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

siqpush
Copy link
Contributor

@siqpush siqpush commented Jul 22, 2023

#208

-i, --no-ignore

  • Do not respect .gitignore ...and global .gitignore files

Change Summary

  • The issue is due to the presence of a global .gitignore file; the symlink was just the victim by chance. Currently, globally ignored files will continue to be removed regardless of flag: -i, --no-ignore. Syncing both global and local .gitignores better addresses the user request.

Change to Code

  • specifying git_global() method with ignore context to WalkBuilder struct to match the (-i, --no-ignore) flag's use case.

@solidiquis solidiquis merged commit 490f7d2 into solidiquis:master Jul 27, 2023
2 checks passed
@siqpush siqpush deleted the siqpush/global-ignore branch August 5, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants