Skip to content

Clean up more of the fall-out from dropping the scripted git rebase #293

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

Conversation

dscho
Copy link
Member

@dscho dscho commented Jul 24, 2019

I had prepared these patches even before v2.22.0, but deemed them not critical enough to push into that release.

dscho added 7 commits May 15, 2019 10:57
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
This went away in 0609b74 (rebase -i: combine rebase--interactive.c
with rebase.c, 2019-04-17).

Signed-off-by: Johannes Schindelin <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
Update a code comment that referred to those files as if they were still
there.

Signed-off-by: Johannes Schindelin <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
This trailing space was inadvertently introduced in 9fbcc3d (Merge
branch 'js/rebase-orig-head-fix', 2019-03-20).

Signed-off-by: Johannes Schindelin <[email protected]>
We skipped marking the "rebase" built-in as requiring a .git/ directory
and a worktree only to allow to spawn the scripted version of `git
rebase`.

Now that we no longer have that escape hatch, we can change that to the
canonical form.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho
Copy link
Member Author

dscho commented Jul 24, 2019

/submit

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 24, 2019

Submitted as [email protected]

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 25, 2019

On the Git mailing list, Junio C Hamano wrote (reply to this):

"Johannes Schindelin via GitGitGadget" <[email protected]>
writes:

> I had prepared these patches even before v2.22.0, but deemed them not
> critical enough to push into that release.

Thanks.  Both of these look quite sensible.  Will queue and
fast-track.

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 25, 2019

On the Git mailing list, Johannes Schindelin wrote (reply to this):

Hi Junio,

On Thu, 25 Jul 2019, Junio C Hamano wrote:

> "Johannes Schindelin via GitGitGadget" <[email protected]>
> writes:
>
> > I had prepared these patches even before v2.22.0, but deemed them not
> > critical enough to push into that release.
>
> Thanks.  Both of these look quite sensible.  Will queue and
> fast-track.

Thank you!
Dscho

@dscho dscho force-pushed the js/rebase-cleanup branch from 082ef75 to 80dfc92 Compare July 25, 2019 22:34
@gitgitgadget
Copy link

gitgitgadget bot commented Jul 25, 2019

This branch is now known as js/rebase-cleanup.

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 25, 2019

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

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 25, 2019

This patch series was integrated into next via git@3d9cedf.

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 29, 2019

This patch series was integrated into pu via git@02f3e60.

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 29, 2019

This patch series was integrated into pu via git@38dac33.

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 29, 2019

This patch series was integrated into next via git@38dac33.

@gitgitgadget
Copy link

gitgitgadget bot commented Jul 29, 2019

This patch series was integrated into master via git@38dac33.

@gitgitgadget gitgitgadget bot added the master label Jul 29, 2019
@gitgitgadget gitgitgadget bot closed this Jul 29, 2019
@gitgitgadget
Copy link

gitgitgadget bot commented Jul 29, 2019

Closed via 38dac33.

@dscho dscho deleted the rebase-cleanup-more branch July 30, 2019 13:04
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