]> khamidou — GitHub mirrors - arcanist.git/commit
Allow Arcanist to parse "git diff --binary" and "hg diff --git" format for
authorepriestley <git@epriestley.com>
Tue, 25 Oct 2011 06:33:50 +0000 (23:33 -0700)
committerepriestley <git@epriestley.com>
Tue, 25 Oct 2011 06:37:29 +0000 (23:37 -0700)
commitf41d6889d2c105dc746db2ceed5fe3609bb206b2
tree747e5f4c2b5b769a51deb2e4c32a5c3eb2afe3ca
parent21985f3b4ef433faa137cd338336d482d45ddeb7
Allow Arcanist to parse "git diff --binary" and "hg diff --git" format for
changes which add or alter binary files

Summary: See test cases, derived from "hg diff --git" and "git diff --binary".

Test Plan: Test cases work now.

Reviewers: Makinde, jungejason, nh, tuomaspelkonen, aran

Reviewed By: Makinde

CC: aran, Makinde
Differential Revision: 1047
src/parser/diff/ArcanistDiffParser.php
src/parser/diff/__tests__/ArcanistDiffParserTestCase.php
src/parser/diff/__tests__/data/git-binary.gitdiff [new file with mode: 0644]
src/parser/diff/__tests__/data/hg-binary-change.hgdiff [new file with mode: 0644]