The .gitignore file is supposed to be committed to the git repository and is therefore a regular file. Still it is excluded by default. IMHO this filename should not be listed in DEFAULT_EXCLUDES:
|
public static final String[] DEFAULTEXCLUDES = { |
Compare also with https://issues.apache.org/jira/browse/SCM-883.