- else if (!strcmp(argv[1], "-z"))
- diff_line_termination = 0;
- else if (!strcmp(argv[1], "--name-only"))
- diff_output_format = DIFF_FORMAT_NAME;
- else if (!strcmp(argv[1], "-R"))
- diff_setup_opt |= DIFF_SETUP_REVERSE;
- else if (!strncmp(argv[1], "-S", 2))
- pickaxe = argv[1] + 2;
- else if (!strncmp(argv[1], "-O", 2))
- orderfile = argv[1] + 2;
- else if (!strncmp(argv[1], "--diff-filter=", 14))
- diff_filter = argv[1] + 14;
- else if (!strcmp(argv[1], "--pickaxe-all"))
- pickaxe_opts = DIFF_PICKAXE_ALL;
- else if (!strncmp(argv[1], "-B", 2)) {
- if ((diff_break_opt =
- diff_scoreopt_parse(argv[1])) == -1)
- usage(diff_files_usage);
- }
- else if (!strncmp(argv[1], "-M", 2)) {
- if ((diff_score_opt =
- diff_scoreopt_parse(argv[1])) == -1)
+ else if (!strcmp(argv[1], "-c"))
+ combine_merges = 1;
+ else if (!strcmp(argv[1], "--cc"))
+ dense_combined_merges = combine_merges = 1;
+ else {
+ int diff_opt_cnt;
+ diff_opt_cnt = diff_opt_parse(&diff_options,
+ argv+1, argc-1);
+ if (diff_opt_cnt < 0)