From 88417629eb1528b0217eb527a31e5f3b169c5e4b Mon Sep 17 00:00:00 2001 From: jujiang Date: Mon, 28 Jun 2021 11:23:24 -0400 Subject: [PATCH] SWDEV-286322 - add command line need to run in comment Change-Id: I8489eb79ce781161415e7d5a461f20b74b9314cd [ROCm/hip commit: 4eb7490530eb1109d665f1a2d510a4e13ac1b4e9] --- projects/hip/.gitattributes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/hip/.gitattributes b/projects/hip/.gitattributes index b84b57d149..55bb72f281 100644 --- a/projects/hip/.gitattributes +++ b/projects/hip/.gitattributes @@ -10,7 +10,9 @@ *.hpp text eol=lf *.txt text eol=lf -# auto remove white space +# Define files to support auto-remove trailing white space +# Need to run the command below, before add modified file(s) to the staging area +# git config filter.trimspace.clean 'sed -e "s/[[:space:]]*$//g"' *.cpp filter=trimspace *.c filter=trimspace *.h filter=trimspacecpp