|
30 | 30 | /** |
31 | 31 | * Parses the value of --rebase. If value is a false value, returns |
32 | 32 | * REBASE_FALSE. If value is a true value, returns REBASE_TRUE. If value is |
33 | | - * "merges", returns REBASE_MERGES. If value is "preserve", returns |
34 | | - * REBASE_PRESERVE. If value is a invalid value, dies with a fatal error if |
35 | | - * fatal is true, otherwise returns REBASE_INVALID. |
| 33 | + * "merges", returns REBASE_MERGES. If value is a invalid value, dies with |
| 34 | + * a fatal error if fatal is true, otherwise returns REBASE_INVALID. |
36 | 35 | */ |
37 | 36 | static enum rebase_type parse_config_rebase(const char *key, const char *value, |
38 | 37 | int fatal) |
@@ -126,7 +125,7 @@ static struct option pull_options[] = { |
126 | 125 | /* Options passed to git-merge or git-rebase */ |
127 | 126 | OPT_GROUP(N_("Options related to merging")), |
128 | 127 | OPT_CALLBACK_F('r', "rebase", &opt_rebase, |
129 | | - "(false|true|merges|preserve|interactive)", |
| 128 | + "(false|true|merges|interactive)", |
130 | 129 | N_("incorporate changes by rebasing rather than merging"), |
131 | 130 | PARSE_OPT_OPTARG, parse_opt_rebase), |
132 | 131 | OPT_PASSTHRU('n', NULL, &opt_diffstat, NULL, |
@@ -883,8 +882,6 @@ static int run_rebase(const struct object_id *newbase, |
883 | 882 | /* Options passed to git-rebase */ |
884 | 883 | if (opt_rebase == REBASE_MERGES) |
885 | 884 | strvec_push(&args, "--rebase-merges"); |
886 | | - else if (opt_rebase == REBASE_PRESERVE) |
887 | | - strvec_push(&args, "--preserve-merges"); |
888 | 885 | else if (opt_rebase == REBASE_INTERACTIVE) |
889 | 886 | strvec_push(&args, "--interactive"); |
890 | 887 | if (opt_diffstat) |
|
0 commit comments