From 18b4d24029b04cfcc1dea0392999da95e7a04c99 Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Tue, 16 Jan 2018 12:40:10 +0530 Subject: [PATCH] Consider .pom files as binary, so that line endings aren't converted, during checkouts resulting in checksum failures --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..b1890763 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Mark the test specific pom files (which have backing checksum files) as binary +# so that auto conversion of line endings aren't done on them (thus resulting in +# different checksums) during git checkout. +test/**/maven-snapshot-test/**/*.pom -text diff +