aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git.orderfile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/git.orderfile')
-rw-r--r--scripts/git.orderfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/scripts/git.orderfile b/scripts/git.orderfile
new file mode 100644
index 000000000..b32203b71
--- /dev/null
+++ b/scripts/git.orderfile
@@ -0,0 +1,39 @@
+#
+# order file for git, to produce patches which are easier to review
+# by diffing the important stuff like interface changes first.
+#
+# one-off usage:
+# git diff -O scripts/git.orderfile ...
+#
+# add to git config:
+# git config diff.orderFile scripts/git.orderfile
+#
+
+# Documentation
+docs/*
+*.rst
+*.rst.inc
+
+# build system
+configure
+Makefile*
+*.mak
+meson.build
+
+# qapi schema
+qapi/*.json
+qga/*.json
+
+# semantic patches
+*.cocci
+
+# headers
+*.h
+*.h.inc
+
+# decoding tree specification
+*.decode
+
+# code
+*.c
+*.c.inc