-
Notifications
You must be signed in to change notification settings - Fork 133
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
Clean up after the removal of the scripted rebase #194
Conversation
Since 2185362 (built-in rebase: call `git am` directly, 2019-01-18), the built-in rebase already uses the built-in `git am` directly. Now that d03ebd4 (rebase: remove the rebase.useBuiltin setting, 2019-03-18) even removed the scripted rebase, there is no longer any user of `git-rebase--am.sh`, so let's just remove it. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
One test case's title mentioned the then-current implementation detail that the `--am` backend was implemented in `git-rebase--am.sh`. This is no longer the case, so let's update the title to reflect the current reality. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This went away in 0609b74 (rebase -i: combine rebase--interactive.c with rebase.c, 2019-04-17). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update a code comment that referred to those files as if they were still there. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The only remaining scripted part of `git rebase` is the `--preserve-merges` backend. Meaning: there is little reason to keep the "library of common rebase functions" as a separate file. While moving the functions to `git-rebase--preserve-merges.sh`, we also drop the `move_to_original_branch` function that is no longer used. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
/submit |
Submitted as pull.194.git.gitgitgadget@gmail.com |
This branch is now known as |
This patch series was integrated into pu via git@2cdf912. |
This patch series was integrated into pu via git@6374082. |
This patch series was integrated into next via git@ccfed8f. |
This patch series was integrated into pu via git@d3e7d32. |
This patch series was integrated into pu via git@8fb0cb2. |
This patch series was integrated into pu via git@5ab7047. |
This patch series was integrated into pu via git@15ce93f. |
This patch series was integrated into pu via git@9fcf3ca. |
This patch series was integrated into pu via git@bf14375. |
This patch series was integrated into pu via git@e84991b. |
This patch series was integrated into pu via git@c8fba2e. |
This patch series was integrated into pu via git@79d4b93. |
This patch series was integrated into pu via git@ed7f8ac. |
This patch series was integrated into next via git@ed7f8ac. |
This patch series was integrated into master via git@ed7f8ac. |
Closed via ed7f8ac. |
Technically, there is still one part that is scripted:
git rebase --preserve-merges
. But that is already deprecated, and the remaining parts really are no longer scripted.Meaning that we do not need
git-rebase--am.sh
.While at it, clean up a few other places that reference the scripted rebase, and also move the functions from
git-rebase--common.sh
directly into the-p
backend (because it is the sole remaining user).