[ovs-git] [openvswitch/ovs] 30c7ff: utilities/checkpatch.py: Check for appropriate bra...

GitHub noreply at github.com
Fri May 20 17:08:00 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 30c7ffd5ac46b545687d59ba612b1ce070f09df8
      https://github.com/openvswitch/ovs/commit/30c7ffd5ac46b545687d59ba612b1ce070f09df8
  Author: Aaron Conole <aconole at redhat.com>
  Date:   2016-05-20 (Fri, 20 May 2016)

  Changed paths:
    M utilities/checkpatch.py

  Log Message:
  -----------
  utilities/checkpatch.py: Check for appropriate bracing

Teach checkpatch.py to understand that if/for/while blocks should always
end with braces on the same line (if possible). This does not address
multi-line if/for/while blocks, but provides a point where such blocks
could be added.

Signed-off-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list