History

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.

Leonardo Bras committed 2 years ago

Commit 67f8f1e1 parent 15d3f761 file · +42 −0Browse files

Showing the changes to scripts/git.orderFile (1 of 1 file). Show all

Unified · Split

scripts/git.orderFile+42−0
@@ -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
13MAINTAINERS
14
15# Documentation
16Documentation/*
17*.rst
18
19# git-specific
20.gitignore
21scripts/git.orderFile
22
23# build system
24Kconfig*
25*/Kconfig*
26Kbuild*
27*/Kbuild*
28Makefile*
29*/Makefile*
30*.mak
31*.mk
32scripts/*
33
34# semantic patches
35*.cocci
36
37# headers
38*types.h
39*.h
40
41# code
42*.c