I use Git Gui, and very infrequently when I try to stage selected lines, I get an error message box:
Failed to stage selected line. error: patch failed: Foo/Bar.json:103 error: Foo/Bar.json: patch does not apply
Staging the entire file works, however.
Does anyone have any idea what might be causing this error? Has anyone else encountered it when using Git Gui?