Skip to content

Commit ff12cad

Browse files
authored
Merge pull request #421 from bhamail/master
update submodule libgit2 to new commit to fix 'omits non-default port numbers'
2 parents 9fbec03 + 4b4a1be commit ff12cad

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

libgit2-sys/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,7 @@ pub const GIT_DIFF_ENABLE_FAST_UNTRACKED_DIRS: git_diff_option_t = 1 << 14;
11021102
pub const GIT_DIFF_UPDATE_INDEX: git_diff_option_t = 1 << 15;
11031103
pub const GIT_DIFF_INCLUDE_UNREADABLE: git_diff_option_t = 1 << 16;
11041104
pub const GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKED: git_diff_option_t = 1 << 17;
1105+
pub const GIT_DIFF_INDENT_HEURISTIC: git_diff_option_t = 1 << 18;
11051106
pub const GIT_DIFF_FORCE_TEXT: git_diff_option_t = 1 << 20;
11061107
pub const GIT_DIFF_FORCE_BINARY: git_diff_option_t = 1 << 21;
11071108
pub const GIT_DIFF_IGNORE_WHITESPACE: git_diff_option_t = 1 << 22;
@@ -1112,7 +1113,6 @@ pub const GIT_DIFF_SHOW_UNMODIFIED: git_diff_option_t = 1 << 26;
11121113
pub const GIT_DIFF_PATIENCE: git_diff_option_t = 1 << 28;
11131114
pub const GIT_DIFF_MINIMAL: git_diff_option_t = 1 << 29;
11141115
pub const GIT_DIFF_SHOW_BINARY: git_diff_option_t = 1 << 30;
1115-
pub const GIT_DIFF_INDENT_HEURISTIC: git_diff_option_t = 1 << 31;
11161116

11171117
#[repr(C)]
11181118
pub struct git_diff_find_options {

libgit2-sys/libgit2

Submodule libgit2 updated 861 files

src/transport.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ struct RawSmartSubtransportStream {
107107
pub unsafe fn register<F>(prefix: &str, factory: F) -> Result<(), Error>
108108
where F: Fn(&Remote) -> Result<Transport, Error> + Send + Sync + 'static
109109
{
110+
libgit2_sys::init();
110111
let mut data = Box::new(TransportData {
111112
factory: Box::new(factory),
112113
});

0 commit comments

Comments
 (0)