You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Patch empty error on commit after selected lines removed #894
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:
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.
Activity