-
Notifications
You must be signed in to change notification settings - Fork 419
update submodule libgit2 to new commit to fix 'omits non-default port numbers' #421
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
Changes from 3 commits
3d823d3
764877b
d475dc9
2538388
437e22e
69334f8
4b4a1be
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ const PORT: u16 = 7848; | |
|
||
fn main() { | ||
unsafe { | ||
libgit2_sys::init(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems somewhat suspicious in the sense that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yea, I meant that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I moved the init call into |
||
git2_curl::register(curl::easy::Easy::new()); | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1112,7 +1112,7 @@ pub const GIT_DIFF_SHOW_UNMODIFIED: git_diff_option_t = 1 << 26; | |
pub const GIT_DIFF_PATIENCE: git_diff_option_t = 1 << 28; | ||
pub const GIT_DIFF_MINIMAL: git_diff_option_t = 1 << 29; | ||
pub const GIT_DIFF_SHOW_BINARY: git_diff_option_t = 1 << 30; | ||
pub const GIT_DIFF_INDENT_HEURISTIC: git_diff_option_t = 1 << 31; | ||
pub const GIT_DIFF_INDENT_HEURISTIC: git_diff_option_t = 1 << 18; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you keep this numerically sorted with the others? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure thing. Done in 2538388 |
||
|
||
#[repr(C)] | ||
pub struct git_diff_find_options { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't publish without a version.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 437e22e
For my own learning: I was guessing a version was not needed due to no version declared in this other case for 'systest':
https://github.com/rust-lang/git2-rs/blob/master/systest/Cargo.toml#L8
I guess there is no magic that inherits the version from the higher level https://github.com/rust-lang/git2-rs/blob/master/Cargo.toml#L26 ?