Discard hunk not working correctly

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 3.2.1
    • Component/s: Git
    • None
    • Severity 2 - Major

      On SourceTree v3.2.1 (225) running on MacOS Catalina 10.15, the Discard Hunk feature works inconsistently. Some hunks are discarded correctly, some are discarded partially (certain lines are leftover), and some hunks cannot be discarded at all.

      1. I click the discard hunk button
      2. The "Confirm discard changes?" dialog shows up. I click OK
      3. The diff display refreshes, and the hunk is still there. No error is shown.
      4. Trying to individually discard lines also does not work.

      I first thought that some other application might be causing this, but it shows up even when I don't have any IDE running. I have tried restarting the application and the machine, but the issue persists.

            Assignee:
            Unassigned
            Reporter:
            Jaidev Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: