hash-object: replace stdin parsing OPT_BOOLEAN by OPT_COUNTUP
[gitweb.git] / builtin / branch.c
index 4daed0b230bdc282a2d6600866d08a9311a34c16..0903763702a436dc8b3ffc89aa64b2598e257446 100644 (file)
@@ -872,7 +872,8 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
        if (with_commit || merge_filter != NO_FILTER)
                list = 1;
 
-       if (!!delete + !!rename + !!force_create + !!list + !!new_upstream + !!unset_upstream > 1)
+       if (!!delete + !!rename + !!force_create + !!new_upstream +
+           list + unset_upstream > 1)
                usage_with_options(builtin_branch_usage, options);
 
        if (abbrev == -1)