@@ -685,7 +685,7 @@ impl DiffOptions {
685
685
self . flag ( raw:: GIT_DIFF_INCLUDE_UNTRACKED , include)
686
686
}
687
687
688
- /// Flag indicating whether untracked directories are deeply traversed or
688
+ /// Flag indicating whether untracked directories are traversed deeply or
689
689
/// not.
690
690
pub fn recurse_untracked_dirs ( & mut self , recurse : bool ) -> & mut DiffOptions {
691
691
self . flag ( raw:: GIT_DIFF_RECURSE_UNTRACKED_DIRS , recurse)
@@ -696,13 +696,13 @@ impl DiffOptions {
696
696
self . flag ( raw:: GIT_DIFF_INCLUDE_UNMODIFIED , include)
697
697
}
698
698
699
- /// If entrabled , then Typechange delta records are generated.
699
+ /// If enabled , then Typechange delta records are generated.
700
700
pub fn include_typechange ( & mut self , include : bool ) -> & mut DiffOptions {
701
701
self . flag ( raw:: GIT_DIFF_INCLUDE_TYPECHANGE , include)
702
702
}
703
703
704
- /// Event with `include_typechange`, the tree treturned generally shows a
705
- /// deleted blow . This flag correctly labels the tree transitions as a
704
+ /// Event with `include_typechange`, the tree returned generally shows a
705
+ /// deleted blob . This flag correctly labels the tree transitions as a
706
706
/// typechange record with the `new_file`'s mode set to tree.
707
707
///
708
708
/// Note that the tree SHA will not be available.
@@ -763,7 +763,7 @@ impl DiffOptions {
763
763
self . flag ( raw:: GIT_DIFF_INCLUDE_UNREADABLE , include)
764
764
}
765
765
766
- /// Include unreadable files in the diff
766
+ /// Include unreadable files in the diff as untracked files
767
767
pub fn include_unreadable_as_untracked ( & mut self , include : bool ) -> & mut DiffOptions {
768
768
self . flag ( raw:: GIT_DIFF_INCLUDE_UNREADABLE_AS_UNTRACKED , include)
769
769
}
0 commit comments