git: sbin/hammer: Partly bring back removed braces from 52e2f1b5

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Apr 10 14:51:36 PDT 2017


commit f254e677c7bddf159584edbe40aed3fd55443547
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Apr 10 20:20:40 2017 +0300

    sbin/hammer: Partly bring back removed braces from 52e2f1b5
    
    based on comments from dillon at .
    
    (dillon) three types, yah.  (1) multi-line condition in if(), (2) if TRUE or FALSE body spans more than one line, put braces around both
    (dillon) (including if a comment is part of the body)

Summary of changes:
 sbin/hammer/cache.c         |  3 +-
 sbin/hammer/cmd_blockmap.c  | 12 ++++--
 sbin/hammer/cmd_cleanup.c   | 54 +++++++++++++++++----------
 sbin/hammer/cmd_config.c    | 35 ++++++++++++------
 sbin/hammer/cmd_dedup.c     | 15 +++++---
 sbin/hammer/cmd_history.c   |  3 +-
 sbin/hammer/cmd_mirror.c    | 55 +++++++++++++++++----------
 sbin/hammer/cmd_pfs.c       | 44 +++++++++++++---------
 sbin/hammer/cmd_recover.c   | 46 ++++++++++++++---------
 sbin/hammer/cmd_show.c      | 21 +++++++----
 sbin/hammer/cmd_snapshot.c  | 90 +++++++++++++++++++++++++++++++--------------
 sbin/hammer/cmd_softprune.c | 16 +++++---
 sbin/hammer/cmd_strip.c     |  5 ++-
 sbin/hammer/cmd_version.c   |  3 +-
 sbin/hammer/cmd_volume.c    |  5 ++-
 sbin/hammer/cycle.c         |  6 ++-
 sbin/hammer/hammer.c        |  9 +++--
 sbin/hammer/misc.c          | 20 ++++++----
 sbin/hammer/ondisk.c        | 48 ++++++++++++++++--------
 19 files changed, 321 insertions(+), 169 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f254e677c7bddf159584edbe40aed3fd55443547


-- 
DragonFly BSD source repository


More information about the Commits mailing list