+4
-4
README.md
+4
-4
README.md
···
36
36
[functionality][seletskiy] exist, so why did I write another?
37
37
38
38
1. No other packages I found support binary diffs, as generated with the
39
-
`--binary` flag. This is the main reason for writing a new packages, as the
39
+
`--binary` flag. This is the main reason for writing a new package, as the
40
40
format is pretty different from line-oriented diffs and is unique to Git.
41
41
42
-
2. Most other packages only parse patches, so you need another package to apply
43
-
them (and if they do support applies, it is only for text files.)
42
+
2. Most other packages only parse patches, so you need additional code to apply
43
+
them (and if applies are supported, it is only for text files.)
44
44
45
45
3. This package aims to accept anything that `git apply` accepts, and closely
46
46
follows the logic in [`apply.c`][apply.c].
47
47
48
-
4. It seemed like a fun thing to write and a good way to learn more about Git.
48
+
4. It seemed like a fun project and a way to learn more about Git.
49
49
50
50
[sourcegraph]: https://github.com/sourcegraph/go-diff
51
51
[sergi]: https://github.com/sergi/go-diff