diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-11-24 15:14:58 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-12-22 23:20:39 +0100 |
commit | eb0dd3a4eb09768d4aa9c6f6ad7ca04619b5c3cd (patch) | |
tree | a700d369ceefede57a6d8bb508ff1f8209780191 | |
parent | 40e97af2d8f35b9ab0d220c4edd0c5ca2460ff6b (diff) | |
download | jgit-eb0dd3a4eb09768d4aa9c6f6ad7ca04619b5c3cd.tar.gz jgit-eb0dd3a4eb09768d4aa9c6f6ad7ca04619b5c3cd.zip |
Configure .gitattributes to manage line endings
Mark test resources as binary to prevent line ending normalization
Some of the test resources are used to test handling of line endings
in JGit.
Change-Id: Idd9ba604945797d1cd1f3af1a1987aee3188e1d6
-rw-r--r-- | .gitattributes | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index 7543492dde..70de5942cd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,14 @@ -* text=auto +* text=auto + +*.asc binary +*.gif binary +*.gitindex.dat binary +*.key binary +*.patch binary +*.pdf binary +*.png binary +org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/diff/** binary +org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/test/resources/** binary +org.eclipse.jgit.test/tst-rsrc/org/eclipse/jgit/util/io/** binary + *.java diff=java |