diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2021-09-07 21:05:07 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-08 04:45:33 (GMT) |
commit | 0a159d65d6f30154a70ab83b52e9f772901862b1 (patch) | |
tree | 906d136585fc70ee698fe9c1b72d9eb8bbe71c24 /git-svn.perl | |
parent | a74b35081c51adbde3ef01870ba03e859db33be6 (diff) | |
download | git-0a159d65d6f30154a70ab83b52e9f772901862b1.zip git-0a159d65d6f30154a70ab83b52e9f772901862b1.tar.gz git-0a159d65d6f30154a70ab83b52e9f772901862b1.tar.bz2 |
git-svn: drop support for `--preserve-merges`
We already passed the `--rebase-merges` option to `git rebase` instead,
now we make this move permanent.
As pointed out by Ævar Arnfjörð Bjarmason, in contrast to the
deprecation of `git rebase`'s `--preserve-merges` backend, `git svn`
only deprecated this option in v2.25.0 (because this developer missed
`git svn`'s use of that backend when deprecating the rebase backend
running up to Git v2.22).
Still, v2.25.0 has been released on January 13th, 2020. In other words,
`git svn` deprecated this option over one and a half years ago, _and_
has been redirecting to the `--rebase-merges` option during all that
time (read: `git svn rebase --preserve-merges` didn't do _precisely_
what the user asked, since v2.25.0, anyway, it fell back to pretending
that the user asked for `git svn rebase --rebase-merges` instead).
It is time to act on that deprecation and remove that option after all.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl index 70cb5e2..be987e3 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -273,7 +273,6 @@ my %cmd = ( 'fetch-all|all' => \$_fetch_all, 'dry-run|n' => \$_dry_run, 'rebase-merges|p' => \$_rebase_merges, - 'preserve-merges|p' => \$_rebase_merges, %fc_opts } ], 'commit-diff' => [ \&cmd_commit_diff, 'Commit a diff between two trees', |