Skip to content

Crash when resetting hunk of non standard size #1512

@Zykino

Description

@Zykino
❯ gitui
Error: `hunk not found`

Command status is 1.

Steps to reproduce:

  1. Make some changes in close proximity in a file
  2. Open gitui, configure the "Context lines" (in the Options menu) to less than the default so it makes new, smallers hunks
  3. Reset Hunk [Shift + D]
  4. Back to the shell?

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis 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