mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
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>
This commit is contained in:
parent
15d3f7664d
commit
67f8f1e7aa
42
scripts/git.orderFile
Normal file
42
scripts/git.orderFile
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user