Hi,

> Another chore we do is on adding new files is
> svn propset svn:eol-style native <file-name>
> 
> do we have an equivalent for that in git?

Per-file properties like eol-style or MIME-type don't exist. Git has some set 
of internal file extensions it treats as text files and does the newlines 
automagically. If we want to configure that, we can commit a ".gitconfig" file 
in root directory of repository: 
https://help.github.com/articles/dealing-with-line-endings/

I would like to add such a .gitconfig file in any case to do some sane defaults.

The ANT checker in "precommit" now also checks your GIT working copy and fails 
like before, although it no longer looks at mime types or eol-style.

Uwe


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to