From 5df538d52265dfdea9f551901b80a264370acd84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 25 Jul 2020 10:17:01 +0700 Subject: [PATCH] gitattributes: don't show whitespace error on patches --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index 7f24a8f81d..8ddae6fce4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,4 @@ template linguist-language=bash common/shlibs merge=union +*.patch whitespace=-space-before-tab,-trailing-space +*.diff whitespace=-space-before-tab,-trailing-space