In the absence of respective instructions, git will use a rather generic
approach to generate diffs and patches.  Introduce a git attributes file
which results in improved output for Python sources (i.e. all protocol

Signed-off-by: Gerhard Sittig <>
 .gitattributes | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000000..125e3d30a204
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.py   diff=python

Check out the vibrant tech community on one of the world's most 
engaging tech sites,!
sigrok-devel mailing list

Reply via email to