Teach git that some files are binary
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 10 Sep 2014 06:55:49 +0000 (08:55 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Sat, 13 Sep 2014 13:41:12 +0000 (15:41 +0200)
This stops things like git grep on short strings finding and showing
diffs from binary files.

Change-Id: I877211accfab3e8132d4cec1f671df790d0500f8

.gitattributes

index b558257f8708d449cb0bfbde75316d42edca5f69..584ce56a882ff097b3fd28ea8bdfa7a82fe5e24b 100644 (file)
@@ -42,3 +42,17 @@ src/gromacs/selection/scanner.cpp       !filter
 src/gromacs/selection/scanner_flex.h    !filter
 nb_kernel_Elec*                         filter=copyright
 nb_kernel*pre                           filter=copyright
+*.eps                                   binary
+*.jpg                                   binary
+*.svg                                   binary
+*.png                                   binary
+*.pdf                                   binary
+*.ogl                                   binary
+*.gif                                   binary
+*.jpg                                   binary
+*.tpr                                   binary
+*.trr                                   binary
+*.tng                                   binary
+*.xtc                                   binary
+*.edr                                   binary
+*.cpt                                   binary