Skip to content

Patch empty error on commit after selected lines removed #894

Closed

Description

@cheshire137

I had a file with several lines changed. I selected a few lines but didn't actually commit them. I then changed the file, removing some of the lines that were selected. I also modified some other files. I tried to make a commit in the app because I saw that two files were fully checked without noticing that one was only partially checked. The commit failed with this error:

screen shot 2017-02-02 at 11 18 57 am

I think the second file in the list, index_page_view.rb, was partially checked without any lines in it actually selected. I think this is what caused the patch error on commit. My guess is that if I remove the lines I had previously selected and there are no more changed lines selected, the checkbox should go from being partially filled to being completely deselected.

I'm on version 0.0.22.

Activity

  1. added this to the M2: Dev Another Day milestone on Feb 2, 2017
  2. self-assigned this
    on Feb 7, 2017
  3. locked as resolved and limited conversation to collaborators on Jul 23, 2018
  4. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions