File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1102,6 +1102,7 @@ pub const GIT_DIFF_ENABLE_FAST_UNTRACKED_DIRS: git_diff_option_t = 1 << 14;
1102
1102
pub const GIT_DIFF_UPDATE_INDEX : git_diff_option_t = 1 << 15 ;
1103
1103
pub const GIT_DIFF_INCLUDE_UNREADABLE : git_diff_option_t = 1 << 16 ;
1104
1104
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 ;
1105
1106
pub const GIT_DIFF_FORCE_TEXT : git_diff_option_t = 1 << 20 ;
1106
1107
pub const GIT_DIFF_FORCE_BINARY : git_diff_option_t = 1 << 21 ;
1107
1108
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;
1112
1113
pub const GIT_DIFF_PATIENCE : git_diff_option_t = 1 << 28 ;
1113
1114
pub const GIT_DIFF_MINIMAL : git_diff_option_t = 1 << 29 ;
1114
1115
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 ;
1116
1116
1117
1117
#[ repr( C ) ]
1118
1118
pub struct git_diff_find_options {
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ struct RawSmartSubtransportStream {
107
107
pub unsafe fn register < F > ( prefix : & str , factory : F ) -> Result < ( ) , Error >
108
108
where F : Fn ( & Remote ) -> Result < Transport , Error > + Send + Sync + ' static
109
109
{
110
+ libgit2_sys:: init ( ) ;
110
111
let mut data = Box :: new ( TransportData {
111
112
factory : Box :: new ( factory) ,
112
113
} ) ;
You can’t perform that action at this time.
0 commit comments