Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/kraxel/tags/misc-20170720-pull-…
Browse files Browse the repository at this point in the history
…request' into staging

git orderfile and editorconfig for 2.10

# gpg: Signature made Thu 20 Jul 2017 09:00:01 BST
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/misc-20170720-pull-request:
  add editorconfig
  add scripts/git.orderfile

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
pm215 committed Jul 20, 2017
2 parents 87a60ee + a62e20f commit 8dbcd0e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
@@ -0,0 +1,15 @@
# http://editorconfig.org
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8

[Makefile*]
indent_style = tab
indent_size = 8

[*.{c,h}]
indent_style = space
indent_size = 4
29 changes: 29 additions & 0 deletions scripts/git.orderfile
@@ -0,0 +1,29 @@
#
# order file for git, to produce patches which are easier to review
# by diffing the important stuff like interface changes first.
#
# one-off usage:
# git diff -O scripts/git.orderfile ...
#
# add to git config:
# git config diff.orderFile scripts/git.orderfile
#

# Documentation
docs/*
*.texi

# build system
configure
Makefile*
*.mak

# qapi schema
*.json

# headers
*.h

# code
*.c

0 comments on commit 8dbcd0e

Please sign in to comment.