Skip to content

Commit

Permalink
Document how to set up use of ktx-compare for CTS.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCallow committed Jun 13, 2024
1 parent df282be commit 5908546
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 5908546

Please sign in to comment.