Skip to main content

diff_textconv_active

Function diff_textconv_active 

Source
pub fn diff_textconv_active(
    git_dir: &Path,
    config: &ConfigSet,
    path: &str,
) -> bool
Expand description

Returns true when path has a diff=<driver> attribute and diff.<driver>.textconv is set.

When this holds, Git treats the path as textual for diff purposes (even if the blob contains NUL), running textconv instead of emitting Binary files differ.