Skip to content

Unable to stage a specific hunk on macOS Monterey #1561

@ghost

Description

Describe the bug

Unable to stage a specific hunk, but can stage an entire file.

To Reproduce

  1. In the "Diff" view, press "Enter" on a hunk.
  2. See that the progress spinner appears for a half second.
  3. See that nothing is staged, the diff view is unaltered.
  4. In the "Unstaged Changes" view, press "Enter" on the file that contained the hunk.
  5. See that the entire file is staged without issue.

Expected behavior

The hunk should stage when enter is pressed while it is select in the "Diff" view.

Context

  • OS/Distro + Version: macOS 12.6.1
  • GitUI Version: 0.22.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions