]> khamidou — GitHub mirrors - arcanist.git/commit
Partially revert D3748
authorepriestley <git@epriestley.com>
Tue, 30 Oct 2012 14:06:05 +0000 (07:06 -0700)
committerepriestley <git@epriestley.com>
Tue, 30 Oct 2012 14:06:05 +0000 (07:06 -0700)
commitd96eaed097874e581a53d6778da8fe063b4bdac6
tree536b14e2dae3632c87f796099ec68e9d1c0483e6
parent519e23f3a4fb161b5b48cbbd4f48139ebc6292ca
Partially revert D3748

Summary:
D3748 attempted to improve the behavior of `arc diff` when dealing with files merged from another branch, but had the side effect of marking all normal edits and deletes as adds. Revert this side effect, at least. This likely degrades the merging case, but it's comparatively rare, and editing/deleting files is very common.

I'll make an effort to fix this properly (and back it with DirectoryFixture tests) when I deal with T1947.

Test Plan: Ran `arc diff --preview` for a change that edits or removes files.

Reviewers: btrahan, vrana, svemir

Reviewed By: svemir

CC: aran
Differential Revision: https://secure.phabricator.com/D3836
src/parser/ArcanistDiffParser.php