gitDiffArgs property

  1. @override
List<String> get gitDiffArgs
override

Implementation

@override
List<String> get gitDiffArgs => [
      // support binary files
      '--binary',
      // do not add lines around diff for consistent behavior
      '--unified=0',
      // disable colors for consistent behavior
      '--no-color',
      // disable external diff tools for consistent behavior
      '--no-ext-diff',
      // force prefix for consistent behavior
      '--src-prefix=a/',
      // force prefix for consistent behavior
      '--dst-prefix=b/',
      // output a patch that can be applied
      '--patch',
      // always use the default short format for submodules
      '--submodule=short',
    ];