]> khamidou — GitHub mirrors - arcanist.git/commit
Arc cover handles a file that is added and modified correctly.
authortuomaspelkonen <tuomas.pelkonen@fb.com>
Mon, 11 Apr 2011 20:54:00 +0000 (13:54 -0700)
committertuomaspelkonen <tuomas.pelkonen@fb.com>
Mon, 11 Apr 2011 21:08:54 +0000 (14:08 -0700)
commitd67a081243a56807161cd24270794cf04b5a819a
tree46757fa28de982cb24a8ee3cf05de3f4c95c7f8c
parent2cf13932197f00538cd4c33273c03e7ca92244e6
Arc cover handles a file that is added and modified correctly.

Summary:
Modifying a new file and running 'arc cover' before committing the
modifications confused arc. The problem was that 'unstaged' status
erased 'added' status and this caused problems.

Test Plan:
Tested that arc cover ignores added files when they are modified, but
old files that are modified are still handled correctly by arc cover.

Reviewed By: epriestley
Reviewers: epriestley
CC: jungejason, epriestley
Differential Revision: 122
src/repository/api/git/ArcanistGitAPI.php