]> khamidou — GitHub mirrors - arcanist.git/commit
Don't error on first run of arc diff
authorNick Harper <nharper@nharper.org>
Sat, 31 Aug 2013 21:57:10 +0000 (14:57 -0700)
committerNick Harper <nharper@nharper.org>
Sat, 31 Aug 2013 21:57:10 +0000 (14:57 -0700)
commitdb3581b8fa56eef0cebcc742fd392a19997f0cc3
treecaff974531bb71c6088a184aa293e5b3b9a05ff3
parent4a3d8292238c34a884219d05b7ba0556bd687c9a
Don't error on first run of arc diff

Summary:
When running arc diff in a repository that supports commit ranges, it is
possible that the setting for the default relative commit hasn't been set.
If this is the case, the user will be prompted. This change makes sure that
the prompt happens (and thus the setting is set) before we run the
background lint and unit runs.

Test Plan:
```
rm .git/arc/default-relative-commit
arc diff
```

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, aran
Maniphest Tasks: T2351

Differential Revision: https://secure.phabricator.com/D6854
src/workflow/ArcanistDiffWorkflow.php