From 1727999f55c7e0791e56477e310c1b99b047ac5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20B=C3=B6gershausen?= Date: Tue, 14 Feb 2023 08:04:47 +0100 Subject: [PATCH] .gitattribute: Cleanup the help for the filter The initial filter setup procedure was not very clear. Clean it up by removing a not used line. Make clear that a command must be executed rather than commenting out lines. --- .gitattributes | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitattributes b/.gitattributes index d78faef..0f3e9d9 100755 --- a/.gitattributes +++ b/.gitattributes @@ -20,14 +20,7 @@ # Configure the following in TwinCAT: # TOOLS -> Options -> TwinCAT -> PLC Environment -> Write Options -> Separate LineIDS : True -# To activate the filter, run -#git config filter.ignoreNetId.clean 'sed -b -f filter/ignoreTargetNetId.sed' +# To activate the filter, copy the following line into a git bash, +# remove the hash and run it: #git config filter.cleanCode.clean 'sed -b -f filter/cleanCode.sed' -# the check if the filter is there by running -# cat ../../../../.git/modules/solution/tc_project_app/tc_pils/tc_pils_generic/config - -#[filter "ignoreNetId"] -# clean = sed -f filter/ignoreTargetNetId.sed -#[filter "cleanCode"] -# clean = sed -f filter/cleanCode.sed