]> khamidou — GitHub mirrors - arcanist.git/commit
Make image diffs work again
authorepriestley <git@epriestley.com>
Wed, 15 Jun 2011 04:25:31 +0000 (21:25 -0700)
committerepriestley <git@epriestley.com>
Wed, 15 Jun 2011 17:46:36 +0000 (10:46 -0700)
commit36de84eeee5119966a532249f32bfbb86f726678
treef73e787198776e9b23b4af198bef35bc65ea2ae0
parent660dd744136bf335851fcbfd834fb147ab6d2890
Make image diffs work again

Summary:
I looked at this quickly to see what was involved and there were only a couple
of issues so here's a patch:

  - On OSX, the "-i" flag does not mean "--mime". Use "--mime" explicitly
instead. This is a minor fix which affects only OS X.
  - I wasn't able to repro the "crazy executables" behavior and think it might
have been me messing something up, so nuke it until we see an issue.
  - Some guid vs phid shenanigans. Differential reads "phid" but arcanist set
"guid". We should move toward "phid"; I started using "guid" before I realized
it was an overloaded term that also refers to a specific GUID implementation
(Microsoft's UUID).

Test Plan:
Uploaded an image diff, saw images in Differential.

Reviewed By: aran
Reviewers: jianfeng, jungejason, aran, tuomaspelkonen
CC: aran
Differential Revision: 466
src/workflow/diff/ArcanistDiffWorkflow.php