Skip to content

Crash when resetting hunk of non standard size #1512

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
Zykino opened this issue Jan 17, 2023 · 1 comment
Closed

Crash when resetting hunk of non standard size #1512

Zykino opened this issue Jan 17, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@Zykino
Copy link

Zykino commented Jan 17, 2023

❯ 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?
@extrawurst
Copy link
Collaborator

will be fixed in #1746

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants