On 03/26/2015 09:58 AM, Markus Armbruster wrote: >>> /home/armbru/work/qemu/.git/rebase-apply/patch:325: new blank line at EOF. >> >> Huh. I thought I had git set up to reject me from making commits like >> that locally, but obviously not. > > There's another one in PATCH 13: > > /home/armbru/work/qemu/.git/rebase-apply/patch:156: new blank line at EOF. > >> http://wiki.qemu.org/Contribute/SubmitAPatch should probably mention the >> magic one-time setup to use to turn this type of checking on... > > Feel free to add it :)
The wiki already mentions how: * [http://blog.vmsplice.net/2011/03/how-to-automatically-run-checkpatchpl.html Automate a checkpatch run on commit] but I had failed to 'chmod +x .git/hooks/pre-commit' to actually use it. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature