safeGitCommands top-level constant

Set<String> const safeGitCommands

Safe git subcommands (read-only).

Implementation

const safeGitCommands = <String>{
  'status',
  'log',
  'diff',
  'show',
  'branch',
  'tag',
  'describe',
  'rev-parse',
  'rev-list',
  'ls-files',
  'ls-tree',
  'ls-remote',
  'shortlog',
  'blame',
  'bisect',
  'config',
  'remote',
  'stash',
  'reflog',
  'cherry',
  'name-rev',
  'verify-commit',
  'verify-tag',
  'count-objects',
  'fsck',
  'for-each-ref',
  'merge-base',
};