gitlabhq/grit_ext — pull request #1 by hiroponz (2012-11-24 07:08:20+00:00)
Title: Fix diff encoding for non ascii paths and non utf-8 file encoding

* The encoding of file name is utf-8, but that of diff body is dependent on file encoding.
* If the output of diff is too short, it will make a mistake in guss of encoding.