···27284. It seemed like a fun thing to write and a good way to learn more about Git.
2930-<b id="f1">1:</b> In practice this library is stricter than `git apply` when
31given certain types of invalid input, particularly lines that contain garbage
32following the valid content. Git seems to ignore this in some cases, while this
33-library will usually return an error. [↩](#a1)
3435[sourcegraph]: https://github.com/sourcegraph/go-diff
36[sergi]: https://github.com/sergi/go-diff
···27284. It seemed like a fun thing to write and a good way to learn more about Git.
2930+<sup id="f1">1</sup> In practice this library is stricter than `git apply` when
31given certain types of invalid input, particularly lines that contain garbage
32following the valid content. Git seems to ignore this in some cases, while this
33+library will usually return an error.
3435[sourcegraph]: https://github.com/sourcegraph/go-diff
36[sergi]: https://github.com/sergi/go-diff