[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] doc: update .gitignore and fix typos for docs i
Re: [Qemu-devel] [PATCH] doc: update .gitignore and fix typos for docs in tree
Wed, 20 Feb 2019 07:45:31 -0600
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
On 2/19/19 11:39 PM, Like Xu wrote:
> On 2019/2/20 11:09, Eric Blake wrote:
>> On 2/20/19 2:55 AM, Like Xu wrote:
>>> Signed-off-by: Like Xu <address@hidden>
>> This feels like two independent patches - the .gitignore change is
>> different from typo fixes.
>> Actually, for .gitignore, you could just as easily do:
>> echo '*.patch' >> .git/info/exclude
>> and fix it so you never commit patch files locally, while still leaving
>> them visible through 'git status' to other users. I actually like
>> knowing when I have stale patch files lying around, so that I can 'rm'
>> them before creating my next patch batch and using 'git send-email
>> *.patch' - but of course, I could just as easily add '!*.patch' to my
>> .git/info/exclude to override the project default if we decide to go
>> with your patch.
> Adding '*.patch' to .gitignore is consistent with LKML tree.
Fair enough - but then make it a separate patch, and include that
justification in your commit message.
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org