Skip to content
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

Fix rebasing over merge commits #2164

Merged
merged 4 commits into from
Sep 25, 2022
Merged

Fix rebasing over merge commits #2164

merged 4 commits into from
Sep 25, 2022

Conversation

mark2185
Copy link
Collaborator

  • PR Description

This should fix #2160 .

  • Please check if the PR fulfills these requirements
  • Cheatsheets are up-to-date (run go run scripts/cheatsheet/main.go generate)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • Docs (specifically docs/Config.md) have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

@@ -76,6 +76,12 @@ func (self *Input) Confirm() {
self.pressKey(self.keys.Universal.Confirm)
}

func (self *Input) ProceedWhenAsked(matcher *matcher) {
Copy link
Owner

Choose a reason for hiding this comment

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

adding this because we do this all over the place

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Smart

Copy link
Owner

Choose a reason for hiding this comment

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

Copy link
Owner

@jesseduffield jesseduffield left a comment

Choose a reason for hiding this comment

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

LGTM: lemme know if you have thoughts on any of the tweaks I pushed

@jesseduffield
Copy link
Owner

hmm does that test also fail locally?

@mark2185
Copy link
Collaborator Author

hmm does that test also fail locally?

Not for me. Let's see if a rebase fixes it.

@jesseduffield jesseduffield merged commit 092363a into jesseduffield:master Sep 25, 2022
@jesseduffield
Copy link
Owner

Nice work

@mark2185 mark2185 deleted the fix-rebasing-over-merge-commits branch September 25, 2022 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Amending merge commit results in merge conflicts
2 participants