git: correctly mark contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py for binary diffs.
What changed, and why it matters
This commit is a trivial Git configuration fix. It updates the .gitattributes file so that a different auto-generated Python file is treated as binary by Git, preventing Git from trying to show text diffs for it. There is no security relevance.
No security action needed. This is a benign repository hygiene change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change updates one line in .gitattributes, replacing the path to an old generated protobuf Python file (contrib/pyln-testing/pyln/testing/node_pb2.py) with the new path (contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py) and keeping the same -text -diff linguist-generated=true attributes. This affects only how GitHub/Git render diffs and has no runtime or security impact.
Changed components
.gitattributesInspect captured patch +1 / −1
diff --git a/.gitattributes b/.gitattributes
index 39273407..c7a10d30 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -17,4 +17,4 @@ statements_gettextgen.po linguist-generated=true
cln-grpc/proto/node.proto -text -diff linguist-generated=true
cln-grpc/src/convert.rs -text -diff linguist-generated=true
cln-rpc/src/model.rs -text -diff linguist-generated=true
-contrib/pyln-testing/pyln/testing/node_pb2.py -text -diff linguist-generated=true
+contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py -text -diff linguist-generated=true
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.