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;
11021102pub const GIT_DIFF_UPDATE_INDEX : git_diff_option_t = 1 << 15 ;
11031103pub const GIT_DIFF_INCLUDE_UNREADABLE : git_diff_option_t = 1 << 16 ;
11041104pub 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 ;
11051106pub const GIT_DIFF_FORCE_TEXT : git_diff_option_t = 1 << 20 ;
11061107pub const GIT_DIFF_FORCE_BINARY : git_diff_option_t = 1 << 21 ;
11071108pub 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;
11121113pub const GIT_DIFF_PATIENCE : git_diff_option_t = 1 << 28 ;
11131114pub const GIT_DIFF_MINIMAL : git_diff_option_t = 1 << 29 ;
11141115pub 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 ) ]
11181118pub struct git_diff_find_options {
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ struct RawSmartSubtransportStream {
107107pub 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 } ) ;
You can’t perform that action at this time.
0 commit comments