Skip to content

Commit c6a3ddc

Browse files
authored
Merge pull request #947 from ehuss/readme-libgit2-version
Update reference to libgit2 version in README.
2 parents 7164c24 + 16e5696 commit c6a3ddc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CONTRIBUTING.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The following steps can be used to update libgit2:
1818
* Update the dependency version in [`Cargo.toml`](https://github.com/rust-lang/git2-rs/blob/master/Cargo.toml) to match the version in the last step (do not include the `+` metadata).
1919
Also update the version of the `git2` crate itself so it will pick up the change to `libgit2-sys` (also keeping in mind if it is a SemVer breaking release).
2020
* Update the version in [`README.md`](https://github.com/rust-lang/git2-rs/blob/master/README.md) if needed.
21+
There are two places, the `Cargo.toml` example and the description of the libgit2 version it binds with.
2122
* If there was a SemVer-breaking version bump for either library, also update the `html_root_url` attribute in the `lib.rs` of each library.
2223
3. Run tests.
2324
`cargo test -p git2 -p git2-curl` is a good starting point.

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ stable release as well.
1616

1717
## Version of libgit2
1818

19-
Currently this library requires libgit2 1.4. The source for libgit2 is
20-
included in the libgit2-sys crate so there's no need to pre-install the libgit2
21-
library, the libgit2-sys crate will figure that and/or build that for you.
19+
Currently this library requires libgit2 1.6.3 (or newer patch versions). The
20+
source for libgit2 is included in the libgit2-sys crate so there's no need to
21+
pre-install the libgit2 library, the libgit2-sys crate will figure that and/or
22+
build that for you.
2223

2324
## Building git2-rs
2425

0 commit comments

Comments
 (0)