1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 23:02:41 +01:00
phorge-arcanist/src
epriestley f9a7cb225e Fix "arc lint" when HEAD has been reverted in the working copy
Summary:
If a user reverts HEAD in the index or working copy, "git diff" shows no changes
and we explode.

Instead, we should simply return no changes; the rest of the lint pipeline
accommodates this correctly.

Test Plan: Reverted HEAD in a working copy, ran "arc lint", got an error.
Applied patch, ran "arc lint", got accurate lint.

Reviewers: Koolvin, btrahan

Reviewed By: Koolvin

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1729
2012-02-29 12:18:46 -08:00
..
branch Make "arc list" use "differential.query", not "differential.find" 2012-02-06 13:08:01 -08:00
configuration Add an "arc alias" command 2012-02-21 13:16:52 -08:00
difference Finalize Arcanist Classes 2012-01-31 12:07:05 -08:00
differential Pre-fill template fields under "arc diff --create" in git 2012-02-28 17:00:35 -08:00
docs Reorganize documentation. 2011-05-31 12:14:20 -07:00
events/constant/type Allow modification of the svn commit message via an event listener 2011-11-16 16:40:19 -08:00
exception Finalize Arcanist Classes 2012-01-31 12:07:05 -08:00
lint Use string operations, not idx(), for string indexing. 2012-02-29 08:39:25 -08:00
parser Parse git diffs of files with unicode characters in the names 2012-02-08 10:04:15 -08:00
repository Fix "arc lint" when HEAD has been reverted in the working copy 2012-02-29 12:18:46 -08:00
unit Add simple, non-magical exception flow to test cases 2012-02-06 09:56:43 -08:00
workflow Pre-fill template fields under "arc diff --create" in git 2012-02-28 17:00:35 -08:00
workingcopyidentity Finalize Arcanist Classes 2012-01-31 12:07:05 -08:00
__phutil_library_init__.php Initial commit. 2011-01-09 15:22:25 -08:00
__phutil_library_map__.php Add an "arc alias" command 2012-02-21 13:16:52 -08:00