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

Allow absolute paths for Repository::is_path_ignored. #554

Merged
merged 1 commit into from
Apr 23, 2020

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Apr 22, 2020

Some users are passing absolute paths to Repository::is_ignored_path. The changes from #549 cause these to be rejected. I don't think it necessarily needs to take a principled stance of "no absolute paths", and also since this breaks existing usage, I think it should just allow absolute paths.

@ehuss
Copy link
Contributor Author

ehuss commented Apr 23, 2020

@alexcrichton Sorry, I should have tested this more. As I noted in #549, I suspected this function might not need to be restricted.

This will be needed for rust-lang/cargo#8095, so if you could push another release, I'd appreciate it. Also, I noticed with the last bump that you didn't push a commit to this repo with the Cargo.toml updates. Sorry about the churn.

@alexcrichton alexcrichton merged commit a3de6a2 into rust-lang:master Apr 23, 2020
@alexcrichton
Copy link
Member

No worries! I should get better about the release process anyway...

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