From 51e7881e4c0a7f3d63a395aeb6c1088205e985cf 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 [ROCm/hip commit: 8169c4d047443df575f72566004d3bbc9ca46b68] --- projects/hip/.gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/projects/hip/.gitattributes b/projects/hip/.gitattributes index c7b2250c04..b84b57d149 100644 --- a/projects/hip/.gitattributes +++ b/projects/hip/.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 +