Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scripts: Introduce a default git.orderFile

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.

Signed-off-by: Leonardo Bras <leobras@redhat.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Leonardo Bras and committed by
Masahiro Yamada
67f8f1e7 15d3f766

+42
+42
scripts/git.orderFile
··· 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