python-tuf/.gitattributes
Jussi Kukkonen b5f5957b15 gitattributes: Fix diff hunk headers
Git is really bad at identifying the correct Python function
in the diff hunk headers (this is a change in Metadata.sign()):

    @@ -384,7 +384,7 @@ class Metadata(Generic[T]):

Amazingly there is much better context detection built-in, just not
enabled. The same diff hunk headers with this commit looks like:

    @@ -384,7 +384,7 @@ def sign(

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
2024-02-21 13:12:57 +02:00

3 lines
107 B
Text

# Test data should not be modified on checkout, regardless of host settings
*.json binary
*.py diff=python