Commit d6da4da3beba40f0c8b54d8f70c627da4d001d94

Authored by Vignesh Rajendran
Committed by Tom Rini
1 parent d25a2d386c

gitattributes: dont treat non-text files as text

With recent update in u-boot gitattributes all files are treated as regular
text files. This creates problems with special files and repo always
shows uncommitted files like below.

Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   tools/logos/compulab.bmp
	modified:   tools/logos/denx-comp.bmp
	modified:   tools/logos/toradex.bmp

To fix above problem special files bmp/ttf files are treated as binary
files in the gitattributes.

Signed-off-by: Vignesh Rajendran <vignesh.rajendran@in.bosch.com>
Signed-off-by: Veeraiyan Chidambaram <veeraiyan.chidambaram@in.bosch.com>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

1 1 # Declare files that always have LF line endings on checkout
2 2 * text eol=lf
  3 +# Denote all files that are truly binary and should not be modified
  4 +*.bmp binary
  5 +*.ttf binary