Skip to content

Commit 0a159d6

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Reviewed-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a74b350 commit 0a159d6

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Documentation/git-svn.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@ config key: svn.authorsProg
678678
--strategy=<strategy>::
679679
-p::
680680
--rebase-merges::
681-
--preserve-merges (DEPRECATED)::
682681
These are only used with the 'dcommit' and 'rebase' commands.
683682
+
684683
Passed directly to 'git rebase' when using 'dcommit' if a

git-svn.perl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ sub _req_svn {
273273
'fetch-all|all' => \$_fetch_all,
274274
'dry-run|n' => \$_dry_run,
275275
'rebase-merges|p' => \$_rebase_merges,
276-
'preserve-merges|p' => \$_rebase_merges,
277276
%fc_opts } ],
278277
'commit-diff' => [ \&cmd_commit_diff,
279278
'Commit a diff between two trees',

0 commit comments

Comments
 (0)