[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL v2 00/44] rework input handling, sdl2 support
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PULL v2 00/44] rework input handling, sdl2 support |
Date: |
Thu, 27 Feb 2014 13:30:36 +0000 |
On 27 February 2014 13:19, Gerd Hoffmann <address@hidden> wrote:
>> I hate bouncing this pull request for a second time, but
>> this still contains stuff that's obviously not ready:
>> * patch which adds a 1000 line new file, then another
>> patch 2 commits later deletes 100 of those lines
>
> That is just a case of having forgotten to specify '-M' switch for
> git-format-patch. Hmm, seems there is no config option to flip the
> default according to 'git config --help'.
>
> It's not a new file, it is "git mv ui/input.c ui/input-legacy.c".
No, I mean ui/sdl2.c.
>> * "build fix" patch -- we shouldn't break the build in one
>> patch and fix it in another, this breaks bisection
>
> I wanted to keep patch authorship, that's why it isn't squashed in.
> Also it is in the braille support bits which are not compiled unless you
> have brlapi-devel installed. I expect this being pretty unusual, so
> most people will not see it.
I expect quite a few people will have brlapi-devel installed
because it's useful to have all the build-depends for optional
bits of QEMU around so you can check you haven't accidentally
broken them. I have it installed, for example.
If you need to fix up somebody else's patch because they've
dumped it on the list and run away without fixing review
issues, the right way to do this is:
* retain their email as the author
* retain their Signed-off-by line
* after that, include a brief summary in square brackets
of the changes you made to it to fix it up, eg
[Gerd: fixed style issues, removed unnecessary code, fixed
breaking of baum2 code] (feel free to be more verbose)
* then add your Signed-off-by line underneath it
>> * patches which don't come anywhere near passing
>> checkpatch
>
> Same reason, keep patch authorship. Dave's SDL2 patch has a bunch of
> codestyle issues, mostly due to using the SDl1 code as base. They are
> fixed up later in the series, by deleting code not needed any step by
> step, and finally with a codestyle cleanup patch.
Yes. Don't do this. Patches to be committed should be correct
to start with, not initially broken and then fixed up in
later patches.
thanks
-- PMM
- [Qemu-devel] [PATCH 12/44] input: keyboard: switch qmp_send_key() to new core., (continued)
- [Qemu-devel] [PATCH 12/44] input: keyboard: switch qmp_send_key() to new core., Gerd Hoffmann, 2014/02/24
- [Qemu-devel] [PATCH 23/44] input: mouse: switch gtk ui to new core, Gerd Hoffmann, 2014/02/24
- [Qemu-devel] [PATCH 37/44] input: add input_mouse_mode tracepoint, Gerd Hoffmann, 2014/02/24
- [Qemu-devel] [PATCH 22/44] input: mouse: switch legacy handlers to new core, Gerd Hoffmann, 2014/02/24
- [Qemu-devel] [PATCH 20/44] input: mouse: add graphic_rotate support, Gerd Hoffmann, 2014/02/24
- [Qemu-devel] [PATCH 44/44] console: add QemuUIInfo, Gerd Hoffmann, 2014/02/24
- [Qemu-devel] [PATCH 38/44] sdl2: simplify keymap handling, Gerd Hoffmann, 2014/02/24
- [Qemu-devel] [PATCH 39/44] sdl2: codestyle fixups, Gerd Hoffmann, 2014/02/24
- Re: [Qemu-devel] [PULL v2 00/44] rework input handling, sdl2 support, Peter Maydell, 2014/02/26