]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/merge-file.c
Merge branch 'tb/use-common-win32-pathfuncs-on-cygwin'
[thirdparty/git.git] / builtin / merge-file.c
index b08803e61119a569e2ca5a33402666d8978d9ff0..06a2f90c4875f2a8ff82a927071ac584ad929f8b 100644 (file)
@@ -15,6 +15,8 @@ static int label_cb(const struct option *opt, const char *arg, int unset)
        static int label_count = 0;
        const char **names = (const char **)opt->value;
 
+       BUG_ON_OPT_NEG(unset);
+
        if (label_count >= 3)
                return error("too many labels on the command line");
        names[label_count++] = arg;