From 590854654344e9c0394464c27b51a5b2b8e2dffb Mon Sep 17 00:00:00 2001 From: Mark Callow Date: Thu, 13 Jun 2024 22:17:40 +0900 Subject: [PATCH] Document how to set up use of ktx-compare for CTS. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 154540181c..9c3cf05949 100644 --- a/README.md +++ b/README.md @@ -152,5 +152,10 @@ work because those are lower priority than `.gitattributes` so are read first and `.gitattributes` already has an entry for *.ktx2, indicating binary, which overrides anything from the global files. +To set up your `tests/cts` submodule to use this, copy the *ktx-compare* diff +command to `.git/modules/tests/cts/config`. Depending on when you set up the +submodule and when you ran `install-gitconfig.sh`, it may already be there. +Add the attribute line to `.git/modules/tests/cts/info/attributes`. + We will be happy to accept a PR to add a .ps1 equivalent script.