[PATCH] add basic .gitattributes files to notice whitespace issues

Jeff Law law@redhat.com
Fri Apr 22 05:26:00 GMT 2016


On 02/04/2016 07:00 PM, tbsaunde+gcc@tbsaunde.org wrote:
> From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
>
> Hi,
>
> We can tell git to highlight whitespace errors in diffs, and if you enable the
> default pre-commit hook git won't allow you to make a commit with a whitespace
> error violating the rules you told it about.  These files as are could be
> improved some, they don't enforce  whitespace rules on testsuite .exp files, and
> I'm not sure if we want to allow whitespace errors in testsuites for libraries,
> but I'd like to see if other people can suggest other improvements.
>
> Trev
>
>
>
> gcc/testsuite/ChangeLog:
>
> 2016-02-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
>
> 	* .gitattributes: New file.
>
> ChangeLog:
>
> 2016-02-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
>
> 	* .gitattributes: New file.
OK.
jeff



More information about the Gcc-patches mailing list