* [Qemu-devel] [PATCH] add scripts/git.orderfile
@ 2017-07-17 10:16 Gerd Hoffmann
2017-07-17 11:42 ` Eric Blake
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2017-07-17 10:16 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann
Based on a old patch by Laszlo.
Time to get this in ...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
scripts/git.orderfile | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 scripts/git.orderfile
diff --git a/scripts/git.orderfile b/scripts/git.orderfile
new file mode 100644
index 0000000000..ac699700b1
--- /dev/null
+++ b/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
+
--
2.9.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] add scripts/git.orderfile
2017-07-17 10:16 [Qemu-devel] [PATCH] add scripts/git.orderfile Gerd Hoffmann
@ 2017-07-17 11:42 ` Eric Blake
2017-07-18 22:07 ` Emilio G. Cota
2017-07-21 12:59 ` Stefan Hajnoczi
2 siblings, 0 replies; 4+ messages in thread
From: Eric Blake @ 2017-07-17 11:42 UTC (permalink / raw)
To: Gerd Hoffmann, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
On 07/17/2017 05:16 AM, Gerd Hoffmann wrote:
> Based on a old patch by Laszlo.
> Time to get this in ...
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> scripts/git.orderfile | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> create mode 100644 scripts/git.orderfile
Reviewed-by: Eric Blake <eblake@redhat.com>
>
> diff --git a/scripts/git.orderfile b/scripts/git.orderfile
> new file mode 100644
> index 0000000000..ac699700b1
> --- /dev/null
> +++ b/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
> +
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] add scripts/git.orderfile
2017-07-17 10:16 [Qemu-devel] [PATCH] add scripts/git.orderfile Gerd Hoffmann
2017-07-17 11:42 ` Eric Blake
@ 2017-07-18 22:07 ` Emilio G. Cota
2017-07-21 12:59 ` Stefan Hajnoczi
2 siblings, 0 replies; 4+ messages in thread
From: Emilio G. Cota @ 2017-07-18 22:07 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel
On Mon, Jul 17, 2017 at 12:16:32 +0200, Gerd Hoffmann wrote:
> Based on a old patch by Laszlo.
> Time to get this in ...
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> scripts/git.orderfile | 29 +++++++++++++++++++++++++++++
Reviewed-by: Emilio G. Cota <cota@braap.org>
Been using this orderfile with format-patch lately, with good results.
E.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] add scripts/git.orderfile
2017-07-17 10:16 [Qemu-devel] [PATCH] add scripts/git.orderfile Gerd Hoffmann
2017-07-17 11:42 ` Eric Blake
2017-07-18 22:07 ` Emilio G. Cota
@ 2017-07-21 12:59 ` Stefan Hajnoczi
2 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2017-07-21 12:59 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 432 bytes --]
On Mon, Jul 17, 2017 at 12:16:32PM +0200, Gerd Hoffmann wrote:
> Based on a old patch by Laszlo.
> Time to get this in ...
>
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> scripts/git.orderfile | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> create mode 100644 scripts/git.orderfile
I've been using a local copy of this... :)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-07-21 12:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17 10:16 [Qemu-devel] [PATCH] add scripts/git.orderfile Gerd Hoffmann
2017-07-17 11:42 ` Eric Blake
2017-07-18 22:07 ` Emilio G. Cota
2017-07-21 12:59 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).