When reviewing patches, it looks much nicer to have some changes shown before others, which allow better understanding of the patch before the the .c files reviewing. Introduce a default git.orderFile, in order to help developers getting the best ordering easier.
Showing the changes to scripts/git.orderFile (1 of 1 file). Show all
Unified · Split
| @@ -0,0 +1,42 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | + | |
| 3 | +# order file for git, to produce patches which are easier to review | |
| 4 | +# by diffing the important stuff like header changes first. | |
| 5 | +# | |
| 6 | +# one-off usage: | |
| 7 | +# git diff -O scripts/git.orderFile ... | |
| 8 | +# | |
| 9 | +# add to git config: | |
| 10 | +# git config diff.orderFile scripts/git.orderFile | |
| 11 | +# | |
| 12 | + | |
| 13 | +MAINTAINERS | |
| 14 | + | |
| 15 | +# Documentation | |
| 16 | +Documentation/* | |
| 17 | +*.rst | |
| 18 | + | |
| 19 | +# git-specific | |
| 20 | +.gitignore | |
| 21 | +scripts/git.orderFile | |
| 22 | + | |
| 23 | +# build system | |
| 24 | +Kconfig* | |
| 25 | +*/Kconfig* | |
| 26 | +Kbuild* | |
| 27 | +*/Kbuild* | |
| 28 | +Makefile* | |
| 29 | +*/Makefile* | |
| 30 | +*.mak | |
| 31 | +*.mk | |
| 32 | +scripts/* | |
| 33 | + | |
| 34 | +# semantic patches | |
| 35 | +*.cocci | |
| 36 | + | |
| 37 | +# headers | |
| 38 | +*types.h | |
| 39 | +*.h | |
| 40 | + | |
| 41 | +# code | |
| 42 | +*.c | |