Skip to content

Detached HEAD state midstream during Rebase #6980

Closed

Description

@tierninho

As part of testing rebasing, specifically test case, I noticed a detached HEAD state during the merge conflict process.

Although this is a common side-effect of the rebasing process, I am wondering if we should consider any other language or UI treatment to convey that this is not an error?

As rebasing is for the more advanced user, this may not be needed. 🤷‍♂️Thoughts? or feel free to close.

image

Activity

  1. changed the title [-]Detached HEAD state in midstream during Rebase[/-] [+]Detached HEAD state midstream during Rebase[/+] on Feb 28, 2019
  2. shiftkey commented on Feb 28, 2019

    @shiftkey
    Member

    A couple of suggestions:

    • when in a rebase, don't show the publish button at all - this might be too radical
    • keep the button around but update the message to be clearer (that a rebase is in progress)
  3. j-f1 commented on Feb 28, 2019

    @j-f1
    Contributor

    Maybe 🗑 + “Cancel rebase” with the subtitle ”Can’t push while a rebase is in progress”?

  4. billygriffin commented on Feb 28, 2019

    @billygriffin
    Contributor

    Thanks @tierninho for spotting this and @shiftkey and @j-f1 for throwing out a few ideas.

    I'd like to keep expectations around the primary interface elements consistent (and therefore I don't want to change the functionality of the button or remove it entirely), but since the "Publish" button is greyed out, I think it can mirror the branch dropdown next to it.

    Replacing "Cannot publish detached HEAD" with "Rebase in progress" when in the middle of a rebase makes sense to me. Let me know if that works @shiftkey or if you think there's some additional context I'm missing.

  5. added this to the 1.6.3 milestone on Feb 28, 2019
  6. shiftkey commented on Feb 28, 2019

    @shiftkey
    Member

    @billygriffin that works for me, and I agree with not overloading the button with extra responsibility. I should be able to get a PR open tomorrow for review.

  7. added
    bug
    on Feb 28, 2019
  8. self-assigned this
    on Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions