{"push_id":2414138405,"size":1,"distinct_size":1,"ref":"refs/heads/replace-chunk-out-of-range","head":"e06aff740538b736d7e95fcc2b211e7981a1507e","before":"e73dc7c072ecba99b0da43cee753319da7f77448","commits":[{"sha":"e06aff740538b736d7e95fcc2b211e7981a1507e","author":{"name":"micbou","email":"1927999686014308dead34c1cfcb9d8bd5271589@micbou.com"},"message":"Fix index error when applying a chunk at the end of file\n\nWhen sending a request to the server, we add a newline to the buffer contents\nto match what gets saved to disk. If the server generates a chunk containing\nthat newline, this chunk goes past the Vim buffer contents since there is\nactually no new line, which raises an IndexError exception when applying the\nchunk. We fix the issue by recomputing the end position of where the chunk is\napplied and by removing all trailing characters in the chunk.","distinct":true,"url":"https://api.github.com/repos/micbou/YouCompleteMe/commits/e06aff740538b736d7e95fcc2b211e7981a1507e"}]}
{"actor":{"display_login":"micbou"}}