commit: extract cleanup_mode functions to sequencer
[gitweb.git] / builtin / show-branch.c
index b1b540f7f6cf90a8cec3816ffa4404449b9e5bb4..934e5149448783e32acc8b605f202384af7d96ee 100644 (file)
@@ -604,6 +604,7 @@ static int parse_reflog_param(const struct option *opt, const char *arg,
 {
        char *ep;
        const char **base = (const char **)opt->value;
+       BUG_ON_OPT_NEG(unset);
        if (!arg)
                arg = "";
        reflog = strtoul(arg, &ep, 10);