Skip to content

git svn: use rebase --rebase-merges instead of preserve-merges #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dscho
Copy link
Member

@dscho dscho commented Jul 24, 2019

By now, git rebase -r is on par with git rebase -p (or better), at least as far as git svn's usage is concerned. So let's use the former instead of the (deprecated) latter option.

Cc: Eric Wong [email protected]

@dscho dscho force-pushed the use-rebase-r-in-git-svn branch from dbaba96 to ed33105 Compare July 25, 2019 10:47
@dscho dscho force-pushed the js/rebase-cleanup branch from 082ef75 to 80dfc92 Compare July 25, 2019 22:34
@dscho dscho added the needs-work These patches have pending issues that need to be resolved before submitting label Oct 27, 2019
We deprecated `--preserve-merges` in favor of `--rebase-merges`; Let's
reflect that in `git svn`.

Note: Even when the user asks for `--preserve-merges`, we now silently
pass `--rebase-merges` to `git rebase` instead. Technically, this is a
change of behavior. But practically, `git svn` only ever asks for a
non-interactive rebase, and `--preserve-merges` and `--rebase-merges`
are on par with regard to that.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho force-pushed the use-rebase-r-in-git-svn branch from ed33105 to c123d93 Compare November 22, 2019 22:20
@dscho dscho changed the base branch from js/rebase-cleanup to master November 22, 2019 22:20
@dscho dscho removed the needs-work These patches have pending issues that need to be resolved before submitting label Nov 22, 2019
@dscho
Copy link
Member Author

dscho commented Nov 22, 2019

/submit

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 22, 2019

Submitted as [email protected]

@@ -677,7 +677,8 @@ config key: svn.authorsProg
-s<strategy>::
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the Git mailing list, Eric Wong wrote (reply to this):

Johannes Schindelin via GitGitGadget <[email protected]> wrote:
> From: Johannes Schindelin <[email protected]>
> 
> We deprecated `--preserve-merges` in favor of `--rebase-merges`; Let's
> reflect that in `git svn`.
> 
> Note: Even when the user asks for `--preserve-merges`, we now silently
> pass `--rebase-merges` to `git rebase` instead. Technically, this is a
> change of behavior. But practically, `git svn` only ever asks for a
> non-interactive rebase, and `--preserve-merges` and `--rebase-merges`
> are on par with regard to that.

I've never used --preserve-merges or --rebase-merges even with
standalone git; but this seems fine as there's no actual
behavior change...

> Signed-off-by: Johannes Schindelin <[email protected]>

Acked-by: Eric Wong <[email protected]>

Thanks.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 23, 2019

This patch series was integrated into pu via git@98e07a8.

@gitgitgadget gitgitgadget bot added the pu label Nov 23, 2019
@gitgitgadget
Copy link

gitgitgadget bot commented Nov 25, 2019

This branch is now known as js/git-svn-use-rebase-merges.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 25, 2019

This patch series was integrated into pu via git@1e818d0.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 25, 2019

This patch series was integrated into pu via git@40ebfc8.

@gitgitgadget
Copy link

gitgitgadget bot commented Nov 25, 2019

This patch series was integrated into next via git@9585fe3.

@gitgitgadget gitgitgadget bot added the next label Nov 25, 2019
@gitgitgadget
Copy link

gitgitgadget bot commented Nov 27, 2019

This patch series was integrated into pu via git@1e2f449.

@gitgitgadget
Copy link

gitgitgadget bot commented Dec 2, 2019

This patch series was integrated into pu via git@eb14345.

@gitgitgadget
Copy link

gitgitgadget bot commented Dec 3, 2019

This patch series was integrated into pu via git@4c395fd.

@gitgitgadget
Copy link

gitgitgadget bot commented Dec 5, 2019

This patch series was integrated into pu via git@75bd003.

@gitgitgadget
Copy link

gitgitgadget bot commented Dec 5, 2019

This patch series was integrated into next via git@75bd003.

@gitgitgadget
Copy link

gitgitgadget bot commented Dec 5, 2019

This patch series was integrated into master via git@75bd003.

@gitgitgadget gitgitgadget bot added the master label Dec 5, 2019
@gitgitgadget gitgitgadget bot closed this Dec 5, 2019
@gitgitgadget
Copy link

gitgitgadget bot commented Dec 5, 2019

Closed via 75bd003.

@dscho dscho deleted the use-rebase-r-in-git-svn branch December 8, 2019 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant