textExtensions constant
Extensions hashed as text: line endings are ignored, so a checkout that turned LF into CRLF (git's core.autocrlf) is not an edit.
Implementation
static const Set<String> textExtensions = {
'json', 'yaml', 'yml', 'dart', 'md', 'txt', 'tmx', 'tsx', 'tmj', 'tsj', //
'tx', 'xml', 'csv', 'svg', 'glsl', 'frag', 'vert', 'yarn', 'html', 'css',
'js', 'atlas', 'fnt', 'gitignore', 'pubignore', 'gitattributes',
};