From 8169c4d047443df575f72566004d3bbc9ca46b68 Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Fri, 18 Jun 2021 16:56:16 -0400 Subject: [PATCH] SWDEV-286322 - Add filter attribute Change-Id: I8b82ab254535f53435cbcb8672e70c7b7d44b5b1 --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitattributes b/.gitattributes index c7b2250c04..b84b57d149 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,3 +9,11 @@ *.h text eol=lf *.hpp text eol=lf *.txt text eol=lf + +# auto remove white space +*.cpp filter=trimspace +*.c filter=trimspace +*.h filter=trimspacecpp +*.hpp filter=trimspace +*.md filter=trimspace +