diff: handle GIT delta binary patches It seems like they only occur rarely; recent git versions do apparently not create them. Using a test case from https...

duanhongyi committed on Mon, 09 Feb 2015 06:42:35
branch: default
tag: tip
changeset: 2d2856fd
diff: handle GIT delta binary patches

It seems like they only occur rarely; recent git versions do apparently not create them.

Using a test case from https://secure.phabricator.com/T6157 .

 M kallithea/lib/diffs.py (1 lines added, 1 lines removed)
 A kallithea/tests/fixtures/git_diff_modify_binary_file.diff (8 lines added, 0 lines removed)
 M kallithea/tests/models/test_diff_parsers.py (8 lines added, 2 lines removed)
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general