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

Fixed error in walkdir #1

Merged
merged 3 commits into from
Mar 17, 2019
Merged

Fixed error in walkdir #1

merged 3 commits into from
Mar 17, 2019

Conversation

deg4uss3r
Copy link
Contributor

Hey! noticed that git-global was not finding any repositories in my base directory because I had no ignored patterns.

This was causing a "" to appear in the Vec<String> matching all results. I added a .filter() line to match not on "" and this works if you have no ignored patterns.

I also version bumped app_dir to 1.2 because 1 would not compile on MacOS (with stable rust).

Finally, also version bumped walkdir to 2 since it makes the .iter() a little cleaner. let me know what you think!

Sorry the version bumps are bundled. If that's an issue I can put in different PRs :)

Copy link
Owner

@peap peap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@peap peap merged commit 1a828b6 into peap:master Mar 17, 2019
@peap
Copy link
Owner

peap commented Mar 20, 2019

This is included in the 0.2.0 release: https://crates.io/crates/git-global/0.2.0

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