Struct config::GitConfig [−][src]
pub struct GitConfig { pub comment_char: String, pub diff_context: u32, pub diff_interhunk_lines: u32, pub diff_rename_limit: u32, pub diff_renames: bool, pub diff_copies: bool, pub editor: String, }
Expand description
Represents the git configuration options.
Fields
comment_char: String
The Git comment character, from core.commentChar
.
diff_context: u32
Number of context lines, from diff.context
.
diff_interhunk_lines: u32
Number of interhunk lines, from diff.interhunk_lines
.
diff_rename_limit: u32
The limit for detecting renames, from diff.renameLimit
.
diff_renames: bool
If to detect renames, from diff.renames
.
diff_copies: bool
If to detect copies, from diff.renames
.
editor: String
The Git editor, from core.editor
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GitConfig
impl UnwindSafe for GitConfig
Blanket Implementations
Mutably borrows from an owned value. Read more