gitDiffArgs property

List<String> get gitDiffArgs

Implementation

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',
];