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

Remove git2 dependency. #5314

Merged
merged 2 commits into from
Mar 14, 2020
Merged

Remove git2 dependency. #5314

merged 2 commits into from
Mar 14, 2020

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Mar 14, 2020

This removes the git2 dependency (used in the integration test). Updating git2 is awkward because both cargo and clippy have to be updated in sync, so this removes that requirement. It didn't look like it was using the git2 library for any particular reason, so this just launches the git executable, which should be available more or less everywhere.

This unblocks updating Cargo.

changelog: none

tests/integration.rs Outdated Show resolved Hide resolved
Co-Authored-By: Mateusz Mikuła <mati865@users.noreply.github.com>
@flip1995
Copy link
Member

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Mar 14, 2020

📌 Commit 626f2fe has been approved by flip1995

@bors
Copy link
Contributor

bors commented Mar 14, 2020

⌛ Testing commit 626f2fe with merge ceb9b7d...

@bors
Copy link
Contributor

bors commented Mar 14, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing ceb9b7d to master...

@bors bors merged commit ceb9b7d into rust-lang:master Mar 14, 2020
ehuss pushed a commit to ehuss/rust-clippy that referenced this pull request Mar 17, 2020
Remove git2 dependency.

This removes the `git2` dependency (used in the integration test).  Updating git2 is awkward because both cargo and clippy have to be updated in sync, so this removes that requirement. It didn't look like it was using the git2 library for any particular reason, so this just launches the `git` executable, which should be available more or less everywhere.

This unblocks updating Cargo.

changelog: none
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request May 5, 2020
Changes:
````
remove redundant import
rustup rust-lang/rust#68404
rustup rust-lang/rust#69644
rustup rust-lang/rust#70344
Move verbose_file_reads to restriction
move redundant_pub_crate to nursery
readme: explain how to run only a single lint on a codebase
Remove dependency on `matches` crate
Move useless_transmute to nursery
nursery group -> style
Update for PR feedback
Auto merge of rust-lang#5314 - ehuss:remove-git2, r=flip1995
Lint for `pub(crate)` items that are not crate visible due to the visibility of the module that contains them
````

Fixes #70456
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.

4 participants