mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
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>
This commit is contained in:
parent
b5bb27fa94
commit
b5f5957b15
1 changed files with 1 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
|
@ -1,2 +1,3 @@
|
|||
# Test data should not be modified on checkout, regardless of host settings
|
||||
*.json binary
|
||||
*.py diff=python
|
||||
|
|
|
|||
Loading…
Reference in a new issue