Mercurial > public > mercurial-scm > hg
diff contrib/chg/chg.c @ 46177:0c320e6032f1
chg: format code by clang-format version 11.0.1-+rc1-1
test-check-clang-format.t started failing on my Debian sid environment, and
new style looks slightly better. So let's bump the required clang-format
version to 11.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 19 Dec 2020 12:07:24 +0900 |
parents | 81da6feb5000 |
children | 8fcc0a829f3d |
line wrap: on
line diff
--- a/contrib/chg/chg.c Sat Dec 19 12:01:58 2020 +0900 +++ b/contrib/chg/chg.c Sat Dec 19 12:07:24 2020 +0900 @@ -451,9 +451,10 @@ */ static int isunsupported(int argc, const char *argv[]) { - enum { SERVE = 1, - DAEMON = 2, - SERVEDAEMON = SERVE | DAEMON, + enum { + SERVE = 1, + DAEMON = 2, + SERVEDAEMON = SERVE | DAEMON, }; unsigned int state = 0; int i;