sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Unstaging hunk from a renamed file errors out

Open allejo opened this issue 6 months ago • 1 comments

Version info

  • OS: macOS 14.2.1
  • Build: 2091

Description

I am trying to unstage a hunk on a file that has been renamed; Merge then attempts to unstage the hunk from the original file name instead of the new, renamed name.

Steps to reproduce

Steps to reproduce the behavior:

  1. Rename a tracked file and stage the whole file image
  2. Unstage a hunk from said file image
  3. Make a commit and it'll fail image

Expected behavior

For the hunk to be correctly unstaged but the rest of the file remains staged

allejo avatar Jan 01 '24 01:01 allejo