summaryrefslogtreecommitdiffstats
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2024-01-22 19:23:56 -0800
committerAndrew Morton <akpm@linux-foundation.org>2024-01-22 19:23:56 -0800
commitf0b7a0d1d46625db5b0e631c05ae96d78eda6c70 (patch)
tree44dde92e4dbd16f25c7ce50240bf53a7b753e7ad /scripts/git.orderFile
parent5aa1c96e8ef347430e7a7c898f290425d1b568ef (diff)
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
downloadlinux-f0b7a0d1d46625db5b0e631c05ae96d78eda6c70.tar.gz
linux-f0b7a0d1d46625db5b0e631c05ae96d78eda6c70.zip
Merge branch 'master' into mm-hotfixes-stable
Diffstat (limited to 'scripts/git.orderFile')
-rw-r--r--scripts/git.orderFile42
1 files changed, 42 insertions, 0 deletions
diff --git a/scripts/git.orderFile b/scripts/git.orderFile
new file mode 100644
index 000000000000..5102ba73357f
--- /dev/null
+++ b/scripts/git.orderFile
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: GPL-2.0
+
+# order file for git, to produce patches which are easier to review
+# by diffing the important stuff like header changes first.
+#
+# one-off usage:
+# git diff -O scripts/git.orderFile ...
+#
+# add to git config:
+# git config diff.orderFile scripts/git.orderFile
+#
+
+MAINTAINERS
+
+# Documentation
+Documentation/*
+*.rst
+
+# git-specific
+.gitignore
+scripts/git.orderFile
+
+# build system
+Kconfig*
+*/Kconfig*
+Kbuild*
+*/Kbuild*
+Makefile*
+*/Makefile*
+*.mak
+*.mk
+scripts/*
+
+# semantic patches
+*.cocci
+
+# headers
+*types.h
+*.h
+
+# code
+*.c